Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001516/0.001516, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001716/0.001716, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.455/1.455, allocations: 230.2 MB / 257.8 MB, free: 8.48 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2256/0.2256, allocations: 46.89 MB / 361.1 MB, free: 4.613 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Rotational.TestMove") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 79.88 kB / 0.4967 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3441, allocations: 65.99 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009725/0.3538, allocations: 7.532 MB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006684/0.3605, allocations: 3.403 MB / 0.5719 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009488/0.3614, allocations: 35.88 kB / 0.5719 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.3636, allocations: 0.8131 MB / 0.5727 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.3669, allocations: 1.312 MB / 0.574 GB, free: 7.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.3682, allocations: 0.534 MB / 0.5745 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.3718, allocations: 2.601 MB / 0.577 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.3731, allocations: 1.021 MB / 0.578 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.3742, allocations: 0.7666 MB / 0.5788 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.3758, allocations: 1.238 MB / 0.58 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.3761, allocations: 136 kB / 0.5801 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.3778, allocations: 0.9555 MB / 0.5811 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.3788, allocations: 1.032 MB / 0.5821 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.38, allocations: 1.207 MB / 0.5832 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004599/0.3846, allocations: 4.038 MB / 0.5872 GB, free: 10.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3846, allocations: 0 / 0.5872 GB, free: 10.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3846, allocations: 4 kB / 0.5872 GB, free: 10.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.887e-05/0.3846, allocations: 0 / 0.5872 GB, free: 10.28 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.005672/0.3903, allocations: 3.014 MB / 0.5901 GB, free: 7.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.3903, allocations: 8.031 kB / 0.5901 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006212/0.3965, allocations: 1.66 MB / 0.5918 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003136/0.3997, allocations: 1.34 MB / 0.5931 GB, free: 4.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.3998, allocations: 123.4 kB / 0.5932 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003346/0.4001, allocations: 160 kB / 0.5933 GB, free: 3.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009959/0.4101, allocations: 6.46 MB / 0.5996 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.127e-05/0.4102, allocations: 39.7 kB / 0.5997 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/0.4104, allocations: 83.89 kB / 0.5998 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002676/0.4131, allocations: 1.433 MB / 0.6012 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.4235, allocations: 5.728 MB / 0.6068 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03414/0.4576, allocations: 26.77 MB / 0.6329 GB, free: 9.957 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004684/0.4623, allocations: 2.067 MB / 0.6349 GB, free: 7.738 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.4637, allocations: 0.9569 MB / 0.6359 GB, free: 6.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.4639, allocations: 178.5 kB / 0.636 GB, free: 6.559 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.4639, allocations: 47.05 kB / 0.6361 GB, free: 6.504 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.216e-06/0.464, allocations: 0 / 0.6361 GB, free: 6.504 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01636/0.4803, allocations: 6.498 MB / 0.6424 GB, free: 15.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/0.4804, allocations: 137 kB / 0.6425 GB, free: 15.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004117/0.4845, allocations: 2.893 MB / 0.6454 GB, free: 12.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.4846, allocations: 45.61 kB / 0.6454 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001831/0.4865, allocations: 2.194 MB / 0.6476 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/0.4869, allocations: 468.5 kB / 0.648 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.4881, allocations: 0.9091 MB / 0.6489 GB, free: 9.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4883, allocations: 301.1 kB / 0.6492 GB, free: 8.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/0.4905, allocations: 1.426 MB / 0.6506 GB, free: 7.539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004935/0.4955, allocations: 4.295 MB / 0.6548 GB, free: 1.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008105/0.5036, allocations: 6.206 MB / 0.6608 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-05/0.5037, allocations: 32 kB / 0.6609 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009556/0.5132, allocations: 5.527 MB / 0.6662 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/0.5133, allocations: 48.09 kB / 0.6663 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.5134, allocations: 107.9 kB / 0.6664 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.5136, allocations: 136.8 kB / 0.6665 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004185/0.5177, allocations: 1.228 MB / 0.6677 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001839/0.5179, allocations: 207.2 kB / 0.6679 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.5205, allocations: 243.6 kB / 0.6682 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/0.5209, allocations: 280 kB / 0.6684 GB, free: 2.359 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.001968/0.5229, allocations: 1.38 MB / 0.6698 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/0.5233, allocations: 250.3 kB / 0.67 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.5253, allocations: 1.249 MB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.5253, allocations: 3.984 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.5254, allocations: 4 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.5258, allocations: 307.2 kB / 0.6715 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.5261, allocations: 16 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008479/0.5269, allocations: 55.92 kB / 0.6716 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.527, allocations: 56.36 kB / 0.6717 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003913/0.531, allocations: 2.051 MB / 0.6737 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002811/0.5338, allocations: 2.12 MB / 0.6757 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000952/0.5347, allocations: 0.6702 MB / 0.6764 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002754/0.5375, allocations: 1.798 MB / 0.6781 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of Backend: time 1.9e-07/0.5375, allocations: 0 / 0.6781 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005919/0.5434, allocations: 2.714 MB / 0.6808 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of SimCode: time 0.009625/0.553, allocations: 5.681 MB / 0.6863 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of Templates: time 0.05692/0.6099, allocations: 30.14 MB / 0.7158 GB, free: 1.805 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.10650101210922]