Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 104.3 kB / 19.69 MB, free: 1.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 223.2 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2466/0.2466, allocations: 44.27 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 75.89 kB / 468 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.128, allocations: 61.04 MB / 0.5166 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009862/0.1378, allocations: 6.709 MB / 0.5232 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007666/0.1455, allocations: 3.147 MB / 0.5262 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.1466, allocations: 39.81 kB / 0.5263 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.1488, allocations: 0.8053 MB / 0.5271 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.1525, allocations: 1.351 MB / 0.5284 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.1539, allocations: 0.534 MB / 0.5289 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003622/0.1575, allocations: 2.578 MB / 0.5314 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/0.1593, allocations: 1.162 MB / 0.5326 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.1607, allocations: 0.8095 MB / 0.5334 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.1625, allocations: 1.195 MB / 0.5345 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004284/0.163, allocations: 140 kB / 0.5347 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.1648, allocations: 0.8385 MB / 0.5355 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.166, allocations: 1.044 MB / 0.5365 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.1672, allocations: 0.8807 MB / 0.5374 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2771/0.4443, allocations: 4.084 MB / 0.5413 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4443, allocations: 1.094 kB / 0.5413 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4443, allocations: 6.109 kB / 0.5414 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001278/0.4444, allocations: 0 / 0.5414 GB, free: 15.18 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.00903/0.4535, allocations: 2.965 MB / 0.5442 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.4535, allocations: 9.625 kB / 0.5443 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006582/0.4601, allocations: 1.665 MB / 0.5459 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004212/0.4643, allocations: 1.355 MB / 0.5472 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.4644, allocations: 124 kB / 0.5473 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003924/0.4648, allocations: 165.6 kB / 0.5475 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.478, allocations: 6.454 MB / 0.5538 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.4781, allocations: 33.09 kB / 0.5538 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003108/0.4784, allocations: 91.53 kB / 0.5539 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003314/0.4817, allocations: 1.433 MB / 0.5553 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.4951, allocations: 5.716 MB / 0.5609 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03344/0.5286, allocations: 25.25 MB / 0.5855 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004121/0.5327, allocations: 1.611 MB / 0.5871 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.5341, allocations: 0.9572 MB / 0.5881 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.5342, allocations: 23.28 kB / 0.5881 GB, free: 5.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.5343, allocations: 41.86 kB / 0.5881 GB, free: 5.348 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 4.809e-06/0.5343, allocations: 1.344 kB / 0.5881 GB, free: 5.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=112): time 0.01664/0.5509, allocations: 6.538 MB / 0.5945 GB, free: 1.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.551, allocations: 141 kB / 0.5946 GB, free: 1.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004437/0.5555, allocations: 2.68 MB / 0.5973 GB, free: 15.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003175/0.5558, allocations: 41.7 kB / 0.5973 GB, free: 15.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002072/0.5579, allocations: 2.227 MB / 0.5995 GB, free: 13.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007218/0.5586, allocations: 471.2 kB / 0.5999 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/0.5599, allocations: 0.9068 MB / 0.6008 GB, free: 11.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.5602, allocations: 360.3 kB / 0.6011 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002499/0.5627, allocations: 1.422 MB / 0.6025 GB, free: 9.973 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005427/0.5681, allocations: 4.299 MB / 0.6067 GB, free: 4.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009164/0.5773, allocations: 6.209 MB / 0.6128 GB, free: 13.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001324/0.5774, allocations: 28 kB / 0.6128 GB, free: 13.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01297/0.5904, allocations: 5.494 MB / 0.6182 GB, free: 7.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.624e-05/0.5904, allocations: 48 kB / 0.6182 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/0.5906, allocations: 108 kB / 0.6183 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.5907, allocations: 132 kB / 0.6185 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004473/0.5952, allocations: 1.225 MB / 0.6197 GB, free: 6.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001753/0.5954, allocations: 199.2 kB / 0.6198 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/0.5986, allocations: 247.6 kB / 0.6201 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004962/0.5991, allocations: 286.5 kB / 0.6204 GB, free: 5.367 MB / 462.1 MB 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.002938/0.602, allocations: 1.385 MB / 0.6217 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/0.6026, allocations: 226.4 kB / 0.6219 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.6048, allocations: 1.203 MB / 0.6231 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/0.6049, allocations: 20.34 kB / 0.6231 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.6049, allocations: 2.375 kB / 0.6231 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.6049, allocations: 7.984 kB / 0.6231 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008625/0.6135, allocations: 3.94 MB / 0.627 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.6135, allocations: 4.531 kB / 0.627 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/0.6155, allocations: 367.4 kB / 0.6273 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-05/0.6156, allocations: 11.98 kB / 0.6273 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/0.6157, allocations: 20 kB / 0.6274 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.797e-05/0.6157, allocations: 11.94 kB / 0.6274 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/0.6157, allocations: 8 kB / 0.6274 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/0.6192, allocations: 2.14 MB / 0.6295 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.6206, allocations: 360.9 kB / 0.6298 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.6209, allocations: 27.98 kB / 0.6298 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009207/0.6218, allocations: 51.92 kB / 0.6299 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.622, allocations: 67.78 kB / 0.63 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.6221, allocations: 43.98 kB / 0.63 GB, free: 11.33 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002907/0.625, allocations: 1.52 MB / 0.6315 GB, free: 9.797 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.625, allocations: 0 / 0.6315 GB, free: 9.797 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004373/0.6294, allocations: 0.6251 MB / 0.6321 GB, free: 9.172 MB / 478.1 MB 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.0004476/0.6299, allocations: 168.6 kB / 0.6323 GB, free: 9.008 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005891/0.6357, allocations: 3.155 MB / 0.6353 GB, free: 5.875 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.6358, allocations: 0 / 0.6353 GB, free: 5.875 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.6369, allocations: 0.7459 MB / 0.6361 GB, free: 5.129 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.6388, allocations: 234.1 kB / 0.6363 GB, free: 4.902 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.6504, allocations: 5.596 MB / 0.6418 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/0.6528, allocations: 1.64 MB / 0.6434 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003408/0.6562, allocations: 1.419 MB / 0.6447 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000573/0.6568, allocations: 167.3 kB / 0.6449 GB, free: 11.96 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6568, allocations: 2.625 kB / 0.6449 GB, free: 11.96 MB / 494.1 MB Notification: Performance of Templates: time 0.04719/0.704, allocations: 19.46 MB / 0.6639 GB, free: 8.617 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.942380864173174]