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.001048/0.001048, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.00188/0.00188, allocations: 165.5 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.9708/0.9708, allocations: 177 MB / 205.2 MB, free: 5.07 MB / 186.7 MB " [Timeout remaining time 179] 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.2421/0.2421, allocations: 34.86 MB / 296.6 MB, free: 484 kB / 266.7 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.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|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.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 3.984 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.155e-05, allocations: 2.312 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006806/0.006827, allocations: 7.191 MB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004632/0.01146, allocations: 3.361 MB / 336.5 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00056/0.01202, allocations: 39.81 kB / 336.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.01315, allocations: 0.8403 MB / 337.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.01515, allocations: 1.353 MB / 338.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.01597, allocations: 0.5713 MB / 339.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002314/0.01828, allocations: 2.956 MB / 342.2 MB, free: 6.793 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.01967, allocations: 1.39 MB / 343.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.02099, allocations: 1.212 MB / 344.8 MB, free: 4.164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.02222, allocations: 1.231 MB / 346.1 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.02241, allocations: 140 kB / 346.2 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.02343, allocations: 0.8968 MB / 347.1 MB, free: 1.895 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006005/0.02403, allocations: 1.083 MB / 348.2 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004852/0.02451, allocations: 0.6461 MB / 348.8 MB, free: 164 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.02685, allocations: 2.821 MB / 351.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.02686, allocations: 0 / 351.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.02686, allocations: 4 kB / 351.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.207e-05/0.02691, allocations: 0 / 351.7 MB, free: 13.32 MB / 330.7 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.002764/0.02967, allocations: 2.684 MB / 354.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.02974, allocations: 16.03 kB / 354.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.03186, allocations: 0.7928 MB / 355.2 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.03294, allocations: 1.012 MB / 356.2 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.03301, allocations: 123.4 kB / 356.3 MB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.03319, allocations: 156.3 kB / 356.4 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.03616, allocations: 3.183 MB / 359.6 MB, free: 4.754 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.065e-05/0.03621, allocations: 31.7 kB / 359.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.03635, allocations: 83.88 kB / 359.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001003/0.03736, allocations: 1.207 MB / 360.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/0.04008, allocations: 1.642 MB / 362.6 MB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/0.05566, allocations: 21.39 MB / 384 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.05739, allocations: 0.7429 MB / 384.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.05766, allocations: 171.4 kB / 384.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002573/0.06024, allocations: 1.952 MB / 386.8 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.06026, allocations: 46.44 kB / 386.9 MB, free: 8.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 2.165e-06/0.06027, allocations: 0 / 386.9 MB, free: 8.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.004146/0.06441, allocations: 1.644 MB / 388.5 MB, free: 6.863 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.06447, allocations: 140.5 kB / 388.7 MB, free: 6.695 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.06643, allocations: 2.28 MB / 390.9 MB, free: 4.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.06647, allocations: 33.7 kB / 391 MB, free: 4.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.06753, allocations: 2.178 MB / 393.2 MB, free: 2.141 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.06777, allocations: 377.2 kB / 393.5 MB, free: 1.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007773/0.06855, allocations: 0.8383 MB / 394.4 MB, free: 0.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.06866, allocations: 357.8 kB / 394.7 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008861/0.06955, allocations: 0.5068 MB / 395.2 MB, free: 48 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.07182, allocations: 3.375 MB / 398.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003536/0.07536, allocations: 4.298 MB / 402.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.521e-05/0.0754, allocations: 32 kB / 402.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003765/0.07917, allocations: 2.994 MB / 405.9 MB, free: 2.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.07923, allocations: 48 kB / 406 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.07933, allocations: 108 kB / 406.1 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.07944, allocations: 140.8 kB / 406.2 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/0.08165, allocations: 1.049 MB / 407.3 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001311/0.08178, allocations: 207.2 kB / 407.5 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.08365, allocations: 211.7 kB / 407.7 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/0.08393, allocations: 244 kB / 407.9 MB, free: 344 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 486 * Number of states: 0 () * Number of discrete variables: 18 (Body1.sphereColor[1],Body1.sphereColor[2],Body1.sphereColor[3],ActuatedRevolute1.cylinderColor[1],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * 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.0007154/0.08465, allocations: 0.4884 MB / 408.4 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.08488, allocations: 127.8 kB / 408.5 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.08536, allocations: 357.3 kB / 408.9 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.08538, allocations: 12 kB / 408.9 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.08538, allocations: 0 / 408.9 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.08539, allocations: 0 / 408.9 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.08818, allocations: 2.076 MB / 410.9 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.08818, allocations: 4 kB / 411 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.08857, allocations: 119.8 kB / 411.1 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.08858, allocations: 8 kB / 411.1 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.08862, allocations: 20.48 kB / 411.1 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.08863, allocations: 19.77 kB / 411.1 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.08863, allocations: 4 kB / 411.1 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.08941, allocations: 1.029 MB / 412.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.08964, allocations: 202.5 kB / 412.3 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.0898, allocations: 16 kB / 412.4 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/0.0903, allocations: 16 kB / 412.4 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.09039, allocations: 59.78 kB / 412.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.09044, allocations: 31.97 kB / 412.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009676/0.09141, allocations: 0.9116 MB / 413.4 MB, free: 10.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.09141, allocations: 0 / 413.4 MB, free: 10.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002427/0.09384, allocations: 0.6132 MB / 414 MB, free: 10.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 61 * 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.0002671/0.0941, allocations: 152 kB / 414.1 MB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.09597, allocations: 1.623 MB / 415.8 MB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001144/0.09608, allocations: 59.94 kB / 415.8 MB, free: 8.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.09631, allocations: 174 kB / 416 MB, free: 8.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.09754, allocations: 357.9 kB / 416.3 MB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/0.1025, allocations: 4.312 MB / 420.7 MB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.1031, allocations: 0.7292 MB / 421.4 MB, free: 2.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006759/0.1038, allocations: 337.6 kB / 421.7 MB, free: 2.145 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/0.1042, allocations: 357.3 kB / 422.1 MB, free: 1.797 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1042, allocations: 0 / 422.1 MB, free: 1.797 MB / 394.7 MB Notification: Performance of Templates: time 0.02383/0.128, allocations: 15.61 MB / 437.7 MB, free: 2.395 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] 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","",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.336583388969302]