Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 100.6 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2555/0.2555, allocations: 44.92 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 63.91 kB / 497.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.389, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009832/0.3988, allocations: 7.555 MB / 0.5562 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007092/0.4059, allocations: 3.388 MB / 0.5595 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.4074, allocations: 39.81 kB / 0.5595 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.4098, allocations: 0.8131 MB / 0.5603 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.4146, allocations: 1.354 MB / 0.5616 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.4162, allocations: 0.5339 MB / 0.5622 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004473/0.4207, allocations: 2.566 MB / 0.5647 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.4232, allocations: 1.029 MB / 0.5657 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/0.4252, allocations: 0.794 MB / 0.5664 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.4278, allocations: 1.234 MB / 0.5676 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005495/0.4283, allocations: 140 kB / 0.5678 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.4308, allocations: 0.9828 MB / 0.5687 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.4322, allocations: 1.036 MB / 0.5697 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002091/0.4343, allocations: 1.223 MB / 0.5709 GB, free: 8.676 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006654/0.441, allocations: 4.08 MB / 0.5749 GB, free: 4.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.441, allocations: 0 / 0.5749 GB, free: 4.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.441, allocations: 0 / 0.5749 GB, free: 4.582 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001341/0.4411, allocations: 0 / 0.5749 GB, free: 4.582 MB / 414.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.006721/0.4478, allocations: 2.966 MB / 0.5778 GB, free: 1.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4479, allocations: 8.922 kB / 0.5778 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006619/0.4545, allocations: 1.668 MB / 0.5795 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004448/0.459, allocations: 1.286 MB / 0.5807 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.4592, allocations: 131.3 kB / 0.5808 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.4603, allocations: 172 kB / 0.581 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.4759, allocations: 6.456 MB / 0.5873 GB, free: 7.289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/0.476, allocations: 31.7 kB / 0.5873 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007658/0.4768, allocations: 87.89 kB / 0.5874 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002999/0.4798, allocations: 1.441 MB / 0.5888 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/0.4936, allocations: 5.732 MB / 0.5944 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04237/0.536, allocations: 26.64 MB / 0.6205 GB, free: 4.492 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004719/0.5407, allocations: 1.611 MB / 0.622 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.5423, allocations: 0.9608 MB / 0.623 GB, free: 1.867 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.5424, allocations: 24.31 kB / 0.623 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.5425, allocations: 46.88 kB / 0.623 GB, free: 1.789 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.337e-06/0.5425, allocations: 0 / 0.623 GB, free: 1.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01822/0.5607, allocations: 6.514 MB / 0.6294 GB, free: 11.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.5608, allocations: 140.9 kB / 0.6295 GB, free: 11.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005583/0.5664, allocations: 2.898 MB / 0.6324 GB, free: 8.184 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002163/0.5666, allocations: 41.7 kB / 0.6324 GB, free: 8.137 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001927/0.5686, allocations: 2.194 MB / 0.6345 GB, free: 5.922 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007191/0.5693, allocations: 476.5 kB / 0.635 GB, free: 5.453 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001765/0.571, allocations: 0.9013 MB / 0.6359 GB, free: 4.539 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.5712, allocations: 305.1 kB / 0.6362 GB, free: 4.238 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/0.5738, allocations: 1.426 MB / 0.6376 GB, free: 2.805 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005708/0.5795, allocations: 4.299 MB / 0.6418 GB, free: 13.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009055/0.5886, allocations: 6.201 MB / 0.6478 GB, free: 5.422 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/0.5887, allocations: 35.94 kB / 0.6478 GB, free: 5.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01237/0.601, allocations: 5.523 MB / 0.6532 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.6012, allocations: 48 kB / 0.6533 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/0.6014, allocations: 104 kB / 0.6534 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.6015, allocations: 132 kB / 0.6535 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004804/0.6063, allocations: 1.229 MB / 0.6547 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002308/0.6066, allocations: 211.1 kB / 0.6549 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00345/0.61, allocations: 239.6 kB / 0.6551 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007538/0.6108, allocations: 280.3 kB / 0.6554 GB, free: 13.64 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.003012/0.6138, allocations: 1.383 MB / 0.6568 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006966/0.6145, allocations: 254.2 kB / 0.657 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.617, allocations: 1.245 MB / 0.6582 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/0.6171, allocations: 12 kB / 0.6582 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.6171, allocations: 7.938 kB / 0.6582 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.6171, allocations: 3.984 kB / 0.6582 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009959/0.627, allocations: 4.519 MB / 0.6627 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.6271, allocations: 7.984 kB / 0.6627 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/0.6292, allocations: 363.3 kB / 0.663 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/0.6292, allocations: 8 kB / 0.663 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.6293, allocations: 24 kB / 0.663 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.485e-05/0.6293, allocations: 8 kB / 0.663 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/0.6293, allocations: 15.92 kB / 0.6631 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003302/0.6326, allocations: 2.179 MB / 0.6652 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.6337, allocations: 238.2 kB / 0.6654 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000649/0.6343, allocations: 23.98 kB / 0.6654 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.6356, allocations: 55.92 kB / 0.6655 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.6358, allocations: 71.77 kB / 0.6656 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.6359, allocations: 39.98 kB / 0.6656 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004346/0.6403, allocations: 1.815 MB / 0.6674 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6403, allocations: 3.938 kB / 0.6674 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004582/0.6448, allocations: 0.6288 MB / 0.668 GB, free: 0.5508 MB / 0.4981 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.0005624/0.6454, allocations: 162.9 kB / 0.6681 GB, free: 392 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00621/0.6516, allocations: 3.168 MB / 0.6712 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.6516, allocations: 0.875 kB / 0.6712 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.653, allocations: 0.7451 MB / 0.672 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.6553, allocations: 256.8 kB / 0.6722 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.6675, allocations: 5.648 MB / 0.6777 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002755/0.6703, allocations: 2.21 MB / 0.6799 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003704/0.674, allocations: 1.463 MB / 0.6813 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000727/0.6747, allocations: 171.4 kB / 0.6815 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of SimCode: time 2.164e-06/0.6747, allocations: 8 kB / 0.6815 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of Templates: time 0.0537/0.7284, allocations: 22.87 MB / 0.7038 GB, free: 11.79 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.739330654032528]