Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 161.4 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9308/0.9308, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2722/0.2722, allocations: 34.27 MB / 295.7 MB, free: 0.7539 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.654e-05, allocations: 2.312 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.01015/0.01017, allocations: 2.886 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004433/0.01461, allocations: 0.7788 MB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.01478, allocations: 15.88 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.01499, allocations: 67.31 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.01523, allocations: 138.8 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.01558, allocations: 111.8 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.01603, allocations: 470.1 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.01628, allocations: 126.7 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003396/0.01968, allocations: 275.3 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.0199, allocations: 139.6 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.01995, allocations: 36 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-05/0.02005, allocations: 40 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.02012, allocations: 87.66 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.02026, allocations: 139.7 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.02066, allocations: 306.8 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.02066, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.02066, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.02067, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008575/0.02152, allocations: 0.6987 MB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.02156, allocations: 16.03 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.02187, allocations: 96.62 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.0222, allocations: 244 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.02223, allocations: 29.38 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.02229, allocations: 40.38 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.02589, allocations: 326.7 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.02592, allocations: 12.14 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.02595, allocations: 16.38 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.02597, allocations: 11.94 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.02626, allocations: 131.9 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.02766, allocations: 1.029 MB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.0281, allocations: 285.5 kB / 386.5 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.02828, allocations: 115.3 kB / 386.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.02831, allocations: 7.938 kB / 386.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.02834, allocations: 45.38 kB / 386.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.515e-06/0.02834, allocations: 0 / 386.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.006017/0.03436, allocations: 1.767 MB / 388.4 MB, free: 7.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003073/0.03743, allocations: 110.8 kB / 388.5 MB, free: 7.719 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.03763, allocations: 250.7 kB / 388.8 MB, free: 7.453 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.03766, allocations: 37.7 kB / 388.8 MB, free: 7.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.03779, allocations: 240.1 kB / 389.1 MB, free: 7.172 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.03792, allocations: 206.2 kB / 389.3 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.03805, allocations: 88 kB / 389.4 MB, free: 6.875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.0382, allocations: 0.5157 MB / 389.9 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.03837, allocations: 69.25 kB / 389.9 MB, free: 6.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.0386, allocations: 202.6 kB / 390.1 MB, free: 6.031 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.03902, allocations: 308.1 kB / 390.4 MB, free: 5.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.03902, allocations: 3.938 kB / 390.4 MB, free: 5.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007752/0.0398, allocations: 456 kB / 390.9 MB, free: 5.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.03982, allocations: 9.969 kB / 390.9 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.03983, allocations: 4 kB / 390.9 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/0.0402, allocations: 127 kB / 391 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/0.04356, allocations: 91.89 kB / 391.1 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/0.04766, allocations: 6.359 MB / 397.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.04782, allocations: 20 kB / 397.5 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.04785, allocations: 20 kB / 397.5 MB, free: 14.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.048, allocations: 184.5 kB / 397.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.04811, allocations: 63.67 kB / 397.7 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-05/0.04818, allocations: 45.8 kB / 397.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.04818, allocations: 4 kB / 397.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.04819, allocations: 4 kB / 397.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.0482, allocations: 7.969 kB / 397.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.04956, allocations: 1.191 MB / 399 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.04957, allocations: 7.938 kB / 399 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.04979, allocations: 99.83 kB / 399.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.04994, allocations: 87 kB / 399.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.04997, allocations: 12.09 kB / 399.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.052, allocations: 5.425 MB / 404.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.052, allocations: 0 / 404.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/0.05264, allocations: 0.8764 MB / 405.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.05266, allocations: 27.81 kB / 405.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.05268, allocations: 15.98 kB / 405.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.05279, allocations: 12 kB / 405.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.05287, allocations: 55.78 kB / 405.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.05289, allocations: 16 kB / 405.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.053e-05/0.05297, allocations: 181.8 kB / 405.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05297, allocations: 0 / 405.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003785/0.05335, allocations: 116 kB / 405.9 MB, free: 5.293 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.05346, allocations: 107.2 kB / 406 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006764/0.05413, allocations: 0.8392 MB / 406.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.05413, allocations: 0 / 406.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.05451, allocations: 0.6854 MB / 407.5 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.0549, allocations: 67.48 kB / 407.6 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.05604, allocations: 0.9586 MB / 408.6 MB, free: 2.461 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.05615, allocations: 126.4 kB / 408.7 MB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.881e-05/0.05622, allocations: 27.28 kB / 408.7 MB, free: 2.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.05627, allocations: 32.5 kB / 408.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.05627, allocations: 0 / 408.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of Templates: time 0.006871/0.06314, allocations: 4.636 MB / 413.4 MB, free: 13.67 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.23654532013461]