Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001734/0.001734, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2397/0.2397, allocations: 46.94 MB / 360.8 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 79.88 kB / 0.4966 GB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3204, allocations: 66.1 MB / 0.5612 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009134/0.3295, allocations: 6.687 MB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006654/0.3362, allocations: 3.146 MB / 0.5708 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008615/0.337, allocations: 51.75 kB / 0.5708 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.3389, allocations: 0.7899 MB / 0.5716 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003403/0.3423, allocations: 1.323 MB / 0.5729 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.3437, allocations: 0.5262 MB / 0.5734 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003589/0.3473, allocations: 2.609 MB / 0.5759 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.3488, allocations: 1.149 MB / 0.5771 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.3499, allocations: 0.7822 MB / 0.5778 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.3514, allocations: 1.187 MB / 0.579 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003099/0.3517, allocations: 140 kB / 0.5791 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.3533, allocations: 0.8307 MB / 0.5799 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.3543, allocations: 1.032 MB / 0.5809 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009706/0.3552, allocations: 0.8612 MB / 0.5818 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004763/0.36, allocations: 4.053 MB / 0.5857 GB, free: 10.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.36, allocations: 0 / 0.5857 GB, free: 10.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.36, allocations: 0 / 0.5857 GB, free: 10.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.698e-05/0.3601, allocations: 0 / 0.5857 GB, free: 10.74 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.00609/0.3662, allocations: 2.935 MB / 0.5886 GB, free: 7.762 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3662, allocations: 8.031 kB / 0.5886 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005865/0.3721, allocations: 1.664 MB / 0.5902 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003278/0.3754, allocations: 1.275 MB / 0.5915 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.3755, allocations: 131.3 kB / 0.5916 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003619/0.3759, allocations: 160 kB / 0.5918 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009947/0.3858, allocations: 6.456 MB / 0.5981 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-05/0.3859, allocations: 39.69 kB / 0.5981 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.3861, allocations: 87.83 kB / 0.5982 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00259/0.3887, allocations: 1.429 MB / 0.5996 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.3998, allocations: 5.716 MB / 0.6052 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03082/0.4306, allocations: 25.24 MB / 0.6298 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004118/0.4347, allocations: 1.604 MB / 0.6314 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.4361, allocations: 0.9604 MB / 0.6323 GB, free: 9.523 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.4362, allocations: 16.33 kB / 0.6323 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.4362, allocations: 50.98 kB / 0.6324 GB, free: 9.449 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.296e-06/0.4362, allocations: 0 / 0.6324 GB, free: 9.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01609/0.4523, allocations: 6.517 MB / 0.6387 GB, free: 2.914 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.4524, allocations: 140.9 kB / 0.6389 GB, free: 2.746 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/0.456, allocations: 2.67 MB / 0.6415 GB, free: 44 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.4561, allocations: 41.78 kB / 0.6415 GB, free: 15.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.4579, allocations: 2.209 MB / 0.6437 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005187/0.4584, allocations: 476.5 kB / 0.6441 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.4596, allocations: 0.9052 MB / 0.645 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4598, allocations: 353.9 kB / 0.6454 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.462, allocations: 1.426 MB / 0.6467 GB, free: 10.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004774/0.4668, allocations: 4.299 MB / 0.6509 GB, free: 4.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007774/0.4745, allocations: 6.21 MB / 0.657 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-05/0.4746, allocations: 32 kB / 0.657 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009932/0.4845, allocations: 5.482 MB / 0.6624 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.236e-05/0.4846, allocations: 51.94 kB / 0.6624 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/0.4847, allocations: 100.1 kB / 0.6625 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.4849, allocations: 139.9 kB / 0.6627 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004357/0.4892, allocations: 1.22 MB / 0.6639 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001832/0.4894, allocations: 203.2 kB / 0.6641 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.4921, allocations: 255.8 kB / 0.6643 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003956/0.4925, allocations: 276 kB / 0.6646 GB, free: 5.449 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00218/0.4947, allocations: 1.383 MB / 0.6659 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004738/0.4952, allocations: 226.4 kB / 0.6661 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.4972, allocations: 1.215 MB / 0.6673 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/0.4972, allocations: 15.98 kB / 0.6673 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.4972, allocations: 0 / 0.6673 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.4972, allocations: 16.06 kB / 0.6673 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007674/0.5049, allocations: 3.929 MB / 0.6712 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.5049, allocations: 4 kB / 0.6712 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/0.5068, allocations: 371.9 kB / 0.6715 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.5068, allocations: 8 kB / 0.6716 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/0.5069, allocations: 24 kB / 0.6716 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.407e-05/0.5069, allocations: 15.94 kB / 0.6716 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5069, allocations: 4 kB / 0.6716 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.5099, allocations: 2.142 MB / 0.6737 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.5103, allocations: 202.4 kB / 0.6739 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.5105, allocations: 20 kB / 0.6739 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00086/0.5114, allocations: 59.92 kB / 0.674 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.5115, allocations: 67.77 kB / 0.674 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-05/0.5116, allocations: 43.91 kB / 0.6741 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002494/0.5141, allocations: 1.508 MB / 0.6755 GB, free: 10 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5141, allocations: 0 / 0.6755 GB, free: 10 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004028/0.5182, allocations: 0.6132 MB / 0.6761 GB, free: 9.391 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 simulation (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004/0.5186, allocations: 158.9 kB / 0.6763 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005573/0.5241, allocations: 3.157 MB / 0.6794 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.5241, allocations: 0 / 0.6794 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.5252, allocations: 0.7467 MB / 0.6801 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.5268, allocations: 234.6 kB / 0.6803 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/0.5367, allocations: 5.578 MB / 0.6858 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/0.5388, allocations: 1.638 MB / 0.6874 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003446/0.5423, allocations: 1.429 MB / 0.6888 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006382/0.5429, allocations: 155.4 kB / 0.6889 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of SimCode: time 1.893e-06/0.5429, allocations: 0 / 0.6889 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of Templates: time 0.04302/0.5859, allocations: 19.26 MB / 0.7077 GB, free: 9.145 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.421679701656103]