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.001849/0.001849, allocations: 77.7 kB / 20.51 MB, free: 1.277 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.002664/0.002664, allocations: 160.5 kB / 23.76 MB, free: 4.473 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.491/1.491, allocations: 158.6 MB / 185.5 MB, free: 6.23 MB / 174.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.2403/0.2403, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.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.00232/0.00232, allocations: 79.89 kB / 407.7 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1257, allocations: 61.03 MB / 468.8 MB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009868/0.1356, allocations: 6.713 MB / 475.5 MB, free: 1.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2483/0.3839, allocations: 3.149 MB / 478.6 MB, free: 43.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.3852, allocations: 37.56 kB / 478.7 MB, free: 43.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.3871, allocations: 0.7957 MB / 479.5 MB, free: 43.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003296/0.3904, allocations: 1.353 MB / 480.8 MB, free: 43.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.3917, allocations: 0.5294 MB / 481.4 MB, free: 43.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00313/0.3949, allocations: 2.574 MB / 483.9 MB, free: 43.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.3963, allocations: 1.164 MB / 485.1 MB, free: 43.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.3974, allocations: 0.8029 MB / 485.9 MB, free: 43.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.3989, allocations: 1.197 MB / 487.1 MB, free: 42.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.3992, allocations: 138.7 kB / 487.2 MB, free: 42.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.4007, allocations: 0.8436 MB / 488.1 MB, free: 42.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007163/0.4014, allocations: 1.045 MB / 489.1 MB, free: 42.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007173/0.4021, allocations: 0.8835 MB / 490 MB, free: 41.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003436/0.4055, allocations: 4.092 MB / 494.1 MB, free: 40.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4055, allocations: 4 kB / 494.1 MB, free: 40.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4055, allocations: 0 / 494.1 MB, free: 40.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.28e-05/0.4056, allocations: 0 / 494.1 MB, free: 40.27 MB / 446.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.005181/0.4108, allocations: 2.964 MB / 497.1 MB, free: 38.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4108, allocations: 9.156 kB / 497.1 MB, free: 38.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/0.4165, allocations: 1.742 MB / 498.8 MB, free: 38.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.4188, allocations: 1.365 MB / 0.4885 GB, free: 37.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/0.4189, allocations: 117.4 kB / 0.4886 GB, free: 37.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.4192, allocations: 163.8 kB / 0.4887 GB, free: 37.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008546/0.4277, allocations: 6.474 MB / 0.495 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.659e-05/0.4278, allocations: 33.23 kB / 0.4951 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.428, allocations: 87.58 kB / 0.4952 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002455/0.4305, allocations: 1.435 MB / 0.4966 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.4416, allocations: 5.737 MB / 0.5022 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02734/0.4689, allocations: 25.32 MB / 0.5269 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005263/0.4742, allocations: 1.654 MB / 0.5285 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.4758, allocations: 0.9604 MB / 0.5294 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.4759, allocations: 24.28 kB / 0.5295 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.476, allocations: 40.92 kB / 0.5295 GB, free: 12.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=100): time 4.568e-06/0.476, allocations: 0 / 0.5295 GB, free: 12.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=112): time 0.02364/0.4996, allocations: 6.706 MB / 0.5361 GB, free: 7.676 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.4997, allocations: 141 kB / 0.5362 GB, free: 7.508 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005209/0.5049, allocations: 2.675 MB / 0.5388 GB, free: 4.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003485/0.5052, allocations: 41.7 kB / 0.5388 GB, free: 4.754 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001696/0.5069, allocations: 2.226 MB / 0.541 GB, free: 2.539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006757/0.5076, allocations: 473 kB / 0.5415 GB, free: 2.082 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/0.5092, allocations: 0.9039 MB / 0.5423 GB, free: 1.168 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5093, allocations: 357.9 kB / 0.5427 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004168/0.5135, allocations: 1.438 MB / 0.5441 GB, free: 15.37 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008119/0.5216, allocations: 4.303 MB / 0.5483 GB, free: 9.613 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.532, allocations: 6.229 MB / 0.5544 GB, free: 1.953 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.351e-05/0.5321, allocations: 32.75 kB / 0.5544 GB, free: 1.922 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01403/0.5461, allocations: 5.494 MB / 0.5598 GB, free: 12.42 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.931e-05/0.5462, allocations: 59.97 kB / 0.5598 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/0.5463, allocations: 100 kB / 0.5599 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.5465, allocations: 139.3 kB / 0.5601 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005928/0.5525, allocations: 1.232 MB / 0.5613 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002288/0.5527, allocations: 200.9 kB / 0.5615 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003963/0.5566, allocations: 266.4 kB / 0.5617 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009711/0.5576, allocations: 283.9 kB / 0.562 GB, free: 10.17 MB / 478.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.003176/0.5608, allocations: 1.395 MB / 0.5633 GB, free: 8.766 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005641/0.5614, allocations: 218.5 kB / 0.5635 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.5638, allocations: 1.213 MB / 0.5647 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/0.5638, allocations: 12 kB / 0.5647 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.5638, allocations: 0 / 0.5647 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.5638, allocations: 3.984 kB / 0.5647 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009937/0.5738, allocations: 3.969 MB / 0.5686 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.5738, allocations: 4 kB / 0.5686 GB, free: 3.262 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/0.5762, allocations: 363.3 kB / 0.569 GB, free: 2.906 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.5762, allocations: 8.531 kB / 0.569 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/0.5764, allocations: 27.98 kB / 0.569 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.461e-05/0.5764, allocations: 12 kB / 0.569 GB, free: 2.859 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.487e-05/0.5764, allocations: 11.94 kB / 0.569 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/0.5802, allocations: 2.137 MB / 0.5711 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.5813, allocations: 358.2 kB / 0.5715 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/0.5816, allocations: 20 kB / 0.5715 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.5828, allocations: 70.97 kB / 0.5715 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.583, allocations: 69.03 kB / 0.5716 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.5831, allocations: 40 kB / 0.5717 GB, free: 92 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00323/0.5864, allocations: 1.524 MB / 0.5731 GB, free: 14.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5864, allocations: 3.938 kB / 0.5731 GB, free: 14.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00431/0.5907, allocations: 0.621 MB / 0.5738 GB, free: 13.93 MB / 494.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.000471/0.5911, allocations: 160.3 kB / 0.5739 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006856/0.598, allocations: 3.164 MB / 0.577 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/0.598, allocations: 0 / 0.577 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.5995, allocations: 0.7395 MB / 0.5777 GB, free: 9.887 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.6016, allocations: 248.5 kB / 0.578 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.6135, allocations: 5.608 MB / 0.5834 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002976/0.6165, allocations: 1.639 MB / 0.585 GB, free: 2.281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004168/0.6206, allocations: 1.426 MB / 0.5864 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/0.6213, allocations: 160.5 kB / 0.5866 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of SimCode: time 1.823e-06/0.6213, allocations: 0 / 0.5866 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of Templates: time 0.0487/0.67, allocations: 16.78 MB / 0.603 GB, free: 15.99 MB / 0.5137 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/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.596931993030012]