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.001383/0.001383, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001501/0.001501, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.512/1.512, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2423/0.2423, allocations: 46.88 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 179] 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.003515/0.003515, allocations: 79.88 kB / 0.4967 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4095, allocations: 65.99 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01024/0.4198, allocations: 7.546 MB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007459/0.4272, allocations: 3.395 MB / 0.5719 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009673/0.4282, allocations: 35.88 kB / 0.5719 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.4301, allocations: 0.8131 MB / 0.5727 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.4334, allocations: 1.308 MB / 0.574 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.4346, allocations: 0.5379 MB / 0.5745 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003583/0.4382, allocations: 2.593 MB / 0.577 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.4397, allocations: 1.017 MB / 0.578 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.441, allocations: 0.7744 MB / 0.5788 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.4429, allocations: 1.226 MB / 0.58 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004168/0.4433, allocations: 144 kB / 0.5801 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.4454, allocations: 0.9632 MB / 0.581 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.4467, allocations: 1.032 MB / 0.5821 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.4481, allocations: 1.203 MB / 0.5832 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005942/0.4541, allocations: 4.042 MB / 0.5872 GB, free: 10.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.4541, allocations: 0 / 0.5872 GB, free: 10.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4541, allocations: 0 / 0.5872 GB, free: 10.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001155/0.4542, allocations: 0 / 0.5872 GB, free: 10.3 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.007223/0.4614, allocations: 3.014 MB / 0.5901 GB, free: 7.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4614, allocations: 12.03 kB / 0.5901 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006397/0.4678, allocations: 1.668 MB / 0.5918 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/0.4712, allocations: 1.325 MB / 0.5931 GB, free: 4.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.4714, allocations: 131.3 kB / 0.5932 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/0.4718, allocations: 160 kB / 0.5933 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.482, allocations: 6.452 MB / 0.5996 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.046e-05/0.4821, allocations: 35.7 kB / 0.5997 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/0.4823, allocations: 83.89 kB / 0.5997 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002694/0.485, allocations: 1.445 MB / 0.6012 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.4955, allocations: 5.724 MB / 0.6067 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0349/0.5304, allocations: 26.76 MB / 0.6329 GB, free: 9.988 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004952/0.5354, allocations: 2.071 MB / 0.6349 GB, free: 7.766 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.5369, allocations: 0.9608 MB / 0.6358 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.5371, allocations: 186.5 kB / 0.636 GB, free: 6.574 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.5371, allocations: 38.89 kB / 0.6361 GB, free: 6.527 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 2.845e-06/0.5371, allocations: 0 / 0.6361 GB, free: 6.527 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01663/0.5538, allocations: 6.506 MB / 0.6424 GB, free: 8 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.5539, allocations: 148.8 kB / 0.6426 GB, free: 15.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/0.5581, allocations: 2.894 MB / 0.6454 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.5582, allocations: 33.7 kB / 0.6454 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/0.5599, allocations: 2.19 MB / 0.6475 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004845/0.5604, allocations: 476.5 kB / 0.648 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/0.5616, allocations: 0.9052 MB / 0.6489 GB, free: 9.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5617, allocations: 305.1 kB / 0.6492 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/0.564, allocations: 1.426 MB / 0.6506 GB, free: 7.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005022/0.569, allocations: 4.295 MB / 0.6548 GB, free: 1.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007942/0.577, allocations: 6.206 MB / 0.6608 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.409e-05/0.577, allocations: 28 kB / 0.6609 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009638/0.5867, allocations: 5.526 MB / 0.6662 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.975e-05/0.5867, allocations: 48 kB / 0.6663 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/0.5869, allocations: 107.9 kB / 0.6664 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.587, allocations: 132 kB / 0.6665 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/0.5913, allocations: 1.229 MB / 0.6677 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001708/0.5915, allocations: 203.2 kB / 0.6679 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.5942, allocations: 243.6 kB / 0.6681 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003968/0.5946, allocations: 284 kB / 0.6684 GB, free: 2.383 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.5965, allocations: 1.384 MB / 0.6698 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/0.597, allocations: 250.3 kB / 0.67 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.599, allocations: 1.241 MB / 0.6712 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.599, allocations: 12 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.599, allocations: 11.94 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.599, allocations: 7.969 kB / 0.6713 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008415/0.6074, allocations: 4.543 MB / 0.6757 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.6075, allocations: 8.062 kB / 0.6757 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/0.6094, allocations: 371.4 kB / 0.676 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.666e-05/0.6095, allocations: 8 kB / 0.6761 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/0.6095, allocations: 16 kB / 0.6761 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/0.6096, allocations: 15.94 kB / 0.6761 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6096, allocations: 4 kB / 0.6761 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003053/0.6126, allocations: 2.176 MB / 0.6782 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006789/0.6133, allocations: 319.2 kB / 0.6785 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/0.6136, allocations: 20 kB / 0.6785 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/0.6145, allocations: 59.92 kB / 0.6786 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.6147, allocations: 67.8 kB / 0.6787 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.131e-05/0.6147, allocations: 39.98 kB / 0.6787 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002798/0.6175, allocations: 1.815 MB / 0.6805 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6175, allocations: 0 / 0.6805 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003621/0.6212, allocations: 0.6209 MB / 0.6811 GB, free: 5.191 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.0004147/0.6216, allocations: 162.8 kB / 0.6812 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006111/0.6277, allocations: 3.161 MB / 0.6843 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.6277, allocations: 4 kB / 0.6843 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.629, allocations: 0.7382 MB / 0.685 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/0.6317, allocations: 265.8 kB / 0.6853 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.642, allocations: 5.621 MB / 0.6908 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002875/0.6449, allocations: 2.209 MB / 0.6929 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003471/0.6483, allocations: 1.459 MB / 0.6944 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007441/0.6491, allocations: 171.4 kB / 0.6945 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of SimCode: time 1.653e-06/0.6491, allocations: 4 kB / 0.6945 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of Templates: time 0.04462/0.6937, allocations: 20.9 MB / 0.7149 GB, free: 2.43 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 -s cvode -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.520508097950369]