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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 104.1 kB / 16.93 MB, free: 5.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 187.3 kB / 17.86 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2335/0.2335, allocations: 43.51 MB / 314.6 MB, free: 0.5469 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 70.89 kB / 383.4 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1108, allocations: 57.79 MB / 441.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.007523/0.1183, allocations: 7.505 MB / 448.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007378/0.1258, allocations: 3.334 MB / 452 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.1274, allocations: 35.88 kB / 452.1 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.1298, allocations: 0.7859 MB / 452.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003716/0.1336, allocations: 1.327 MB / 454.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.1352, allocations: 0.53 MB / 454.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00382/0.139, allocations: 2.566 MB / 457.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.1411, allocations: 1.248 MB / 458.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.1426, allocations: 0.7783 MB / 459.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.1444, allocations: 1.129 MB / 460.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005739/0.145, allocations: 140 kB / 460.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.1473, allocations: 0.9399 MB / 461.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.1487, allocations: 1.021 MB / 462.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002001/0.1507, allocations: 1.227 MB / 463.7 MB, free: 268 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005038/0.1557, allocations: 3.882 MB / 467.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1558, allocations: 0 / 467.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1558, allocations: 0 / 467.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001477/0.1559, allocations: 0 / 467.6 MB, free: 12.37 MB / 350.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.006906/0.1629, allocations: 2.965 MB / 470.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1629, allocations: 11.89 kB / 470.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006329/0.1693, allocations: 1.651 MB / 472.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00306/0.1724, allocations: 1.383 MB / 473.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.1725, allocations: 123.4 kB / 473.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006321/0.1732, allocations: 163.9 kB / 473.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.184, allocations: 6.464 MB / 480.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.919e-05/0.1841, allocations: 27.75 kB / 480.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004307/0.1845, allocations: 83.89 kB / 480.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002644/0.1872, allocations: 1.441 MB / 481.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.1989, allocations: 5.732 MB / 487.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03414/0.2331, allocations: 26.8 MB / 0.5024 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004753/0.2379, allocations: 2.152 MB / 0.5045 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.2395, allocations: 1.054 MB / 0.5055 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.2398, allocations: 170.5 kB / 0.5057 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.2399, allocations: 46.88 kB / 0.5057 GB, free: 8.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 4.739e-06/0.2399, allocations: 4 kB / 0.5057 GB, free: 8.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01872/0.2586, allocations: 6.388 MB / 0.512 GB, free: 2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.622e-05/0.2587, allocations: 144.8 kB / 0.5121 GB, free: 1.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005167/0.2639, allocations: 2.897 MB / 0.5149 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.2642, allocations: 37.7 kB / 0.515 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001779/0.266, allocations: 2.11 MB / 0.517 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006987/0.2667, allocations: 450.4 kB / 0.5175 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001902/0.2687, allocations: 0.9044 MB / 0.5184 GB, free: 11.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2688, allocations: 301.1 kB / 0.5186 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/0.2713, allocations: 1.426 MB / 0.52 GB, free: 9.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004454/0.2758, allocations: 4.299 MB / 0.5242 GB, free: 3.891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2341/0.5099, allocations: 6.206 MB / 0.5303 GB, free: 81.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/0.5101, allocations: 29.81 kB / 0.5303 GB, free: 81.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01055/0.5206, allocations: 5.497 MB / 0.5357 GB, free: 80.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.712e-05/0.5208, allocations: 49.62 kB / 0.5357 GB, free: 80.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/0.521, allocations: 106.8 kB / 0.5358 GB, free: 80.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002229/0.5212, allocations: 134.2 kB / 0.536 GB, free: 80.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005019/0.5262, allocations: 1.227 MB / 0.5372 GB, free: 80.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000324/0.5266, allocations: 203.3 kB / 0.5374 GB, free: 80.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004017/0.5306, allocations: 243.4 kB / 0.5376 GB, free: 80.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008831/0.5316, allocations: 281.7 kB / 0.5379 GB, free: 80.62 MB / 414.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.003101/0.5347, allocations: 1.386 MB / 0.5392 GB, free: 80.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006409/0.5353, allocations: 242.2 kB / 0.5394 GB, free: 80.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.5376, allocations: 1.238 MB / 0.5407 GB, free: 79.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.086e-05/0.5377, allocations: 14.5 kB / 0.5407 GB, free: 79.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.5377, allocations: 2.438 kB / 0.5407 GB, free: 79.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.5377, allocations: 5.125 kB / 0.5407 GB, free: 79.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008007/0.5457, allocations: 4.568 MB / 0.5451 GB, free: 77.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.5458, allocations: 7.688 kB / 0.5451 GB, free: 77.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/0.5477, allocations: 368.7 kB / 0.5455 GB, free: 77.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.017e-05/0.5477, allocations: 8.031 kB / 0.5455 GB, free: 77.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.136e-05/0.5478, allocations: 23.09 kB / 0.5455 GB, free: 77.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.949e-05/0.5478, allocations: 15.61 kB / 0.5455 GB, free: 77.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.5478, allocations: 8.375 kB / 0.5455 GB, free: 77.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.55, allocations: 2.171 MB / 0.5477 GB, free: 76.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007653/0.5508, allocations: 458.9 kB / 0.5481 GB, free: 76.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/0.5511, allocations: 22.19 kB / 0.5481 GB, free: 76.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008995/0.552, allocations: 54.47 kB / 0.5482 GB, free: 76.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.5521, allocations: 70.08 kB / 0.5482 GB, free: 76.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-05/0.5522, allocations: 36.27 kB / 0.5483 GB, free: 76.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002251/0.5545, allocations: 1.828 MB / 0.5501 GB, free: 75.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5545, allocations: 0 / 0.5501 GB, free: 75.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003271/0.5578, allocations: 0.6292 MB / 0.5507 GB, free: 75.76 MB / 414.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.0003333/0.5581, allocations: 159.1 kB / 0.5508 GB, free: 75.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004521/0.5626, allocations: 3.48 MB / 0.5542 GB, free: 73.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5627, allocations: 0 / 0.5542 GB, free: 73.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008525/0.5635, allocations: 0.7912 MB / 0.555 GB, free: 73.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.5654, allocations: 276.5 kB / 0.5553 GB, free: 72.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00829/0.5737, allocations: 5.907 MB / 0.561 GB, free: 67.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.5754, allocations: 2.215 MB / 0.5632 GB, free: 64.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009251/0.5763, allocations: 211.4 kB / 0.5634 GB, free: 64.71 MB / 414.1 MB Notification: Performance of SimCode: time 1.844e-06/0.5764, allocations: 3.172 kB / 0.5634 GB, free: 64.71 MB / 414.1 MB Notification: Performance of Templates: time 0.04707/0.6234, allocations: 37.29 MB / 0.5998 GB, free: 27.46 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile (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) 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) Reference file matches