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.001192/0.001192, allocations: 104.2 kB / 16.27 MB, free: 5.93 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.001264/0.001264, allocations: 192.5 kB / 17.2 MB, free: 5.574 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.554/1.554, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2392/0.2392, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001831/0.001831, allocations: 63.75 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1157, allocations: 57.8 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009555/0.1253, allocations: 7.504 MB / 448 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007185/0.1325, allocations: 3.334 MB / 451.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.1339, allocations: 35.88 kB / 451.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.1364, allocations: 0.7937 MB / 452.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004321/0.1408, allocations: 1.331 MB / 453.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.1425, allocations: 0.5223 MB / 454 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005034/0.1475, allocations: 2.574 MB / 456.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00291/0.1505, allocations: 1.248 MB / 457.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.1527, allocations: 0.7783 MB / 458.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00244/0.1552, allocations: 1.125 MB / 459.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008114/0.156, allocations: 140 kB / 459.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.1595, allocations: 0.9399 MB / 460.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002293/0.1618, allocations: 1.021 MB / 461.9 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003184/0.165, allocations: 1.226 MB / 463.1 MB, free: 256 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008347/0.1734, allocations: 3.878 MB / 467 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.1735, allocations: 0 / 467 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1735, allocations: 0 / 467 MB, free: 12.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001702/0.1737, allocations: 0 / 467 MB, free: 12.36 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.008977/0.1826, allocations: 2.961 MB / 469.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.1827, allocations: 15.88 kB / 469.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006514/0.1892, allocations: 1.655 MB / 471.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/0.1921, allocations: 1.383 MB / 473 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.1922, allocations: 123.4 kB / 473.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000566/0.1928, allocations: 163.9 kB / 473.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.2034, allocations: 6.456 MB / 479.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-05/0.2035, allocations: 31.75 kB / 479.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/0.2038, allocations: 83.89 kB / 479.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/0.2063, allocations: 1.437 MB / 481.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.2176, allocations: 5.74 MB / 487 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03681/0.2545, allocations: 26.79 MB / 0.5017 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00471/0.2592, allocations: 2.163 MB / 0.5039 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.2607, allocations: 1.036 MB / 0.5049 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.2609, allocations: 182.5 kB / 0.505 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.2609, allocations: 42.89 kB / 0.5051 GB, free: 8.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 4.318e-06/0.2609, allocations: 4 kB / 0.5051 GB, free: 8.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01627/0.2772, allocations: 6.382 MB / 0.5113 GB, free: 2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.2774, allocations: 148.8 kB / 0.5115 GB, free: 1.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004605/0.282, allocations: 2.897 MB / 0.5143 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002796/0.2823, allocations: 41.7 kB / 0.5143 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001733/0.284, allocations: 2.106 MB / 0.5164 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006837/0.2847, allocations: 458.4 kB / 0.5168 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/0.2859, allocations: 0.9005 MB / 0.5177 GB, free: 11.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.286, allocations: 301.1 kB / 0.518 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.2883, allocations: 1.426 MB / 0.5194 GB, free: 9.633 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005213/0.2935, allocations: 4.299 MB / 0.5236 GB, free: 3.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2827/0.5762, allocations: 6.202 MB / 0.5296 GB, free: 81.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/0.5764, allocations: 29.94 kB / 0.5297 GB, free: 81.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01522/0.5916, allocations: 5.504 MB / 0.535 GB, free: 81.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.5918, allocations: 49.39 kB / 0.5351 GB, free: 81.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002101/0.592, allocations: 101.8 kB / 0.5352 GB, free: 81.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003018/0.5923, allocations: 134.8 kB / 0.5353 GB, free: 81.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006714/0.5991, allocations: 1.23 MB / 0.5365 GB, free: 81.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002878/0.5994, allocations: 202.2 kB / 0.5367 GB, free: 80.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005429/0.6048, allocations: 239.5 kB / 0.5369 GB, free: 80.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008242/0.6057, allocations: 286.5 kB / 0.5372 GB, free: 80.89 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.003379/0.6091, allocations: 1.387 MB / 0.5386 GB, free: 80.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007394/0.6098, allocations: 238.3 kB / 0.5388 GB, free: 80.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003102/0.6129, allocations: 1.235 MB / 0.54 GB, free: 79.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-05/0.613, allocations: 15.41 kB / 0.54 GB, free: 79.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.613, allocations: 5.531 kB / 0.54 GB, free: 79.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.613, allocations: 5.625 kB / 0.54 GB, free: 79.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.6235, allocations: 4.566 MB / 0.5445 GB, free: 78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.6235, allocations: 8.266 kB / 0.5445 GB, free: 78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/0.6259, allocations: 373.7 kB / 0.5448 GB, free: 77.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.6259, allocations: 8.156 kB / 0.5449 GB, free: 77.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.867e-05/0.626, allocations: 18.81 kB / 0.5449 GB, free: 77.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.626, allocations: 12.69 kB / 0.5449 GB, free: 77.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.626, allocations: 10.38 kB / 0.5449 GB, free: 77.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/0.6286, allocations: 2.166 MB / 0.547 GB, free: 76.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009477/0.6296, allocations: 462.5 kB / 0.5475 GB, free: 76.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003528/0.63, allocations: 24.44 kB / 0.5475 GB, free: 76.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.6313, allocations: 57.91 kB / 0.5475 GB, free: 76.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.6315, allocations: 69.98 kB / 0.5476 GB, free: 76.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.6317, allocations: 39.28 kB / 0.5476 GB, free: 76.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003112/0.6348, allocations: 1.826 MB / 0.5494 GB, free: 75.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6348, allocations: 0 / 0.5494 GB, free: 75.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006225/0.641, allocations: 0.6245 MB / 0.55 GB, free: 75.85 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.0005553/0.6416, allocations: 152.2 kB / 0.5502 GB, free: 75.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007036/0.6487, allocations: 3.487 MB / 0.5536 GB, free: 73.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.6487, allocations: 0 / 0.5536 GB, free: 73.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.65, allocations: 0.7863 MB / 0.5543 GB, free: 73.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/0.6527, allocations: 281.5 kB / 0.5546 GB, free: 72.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.6652, allocations: 5.641 MB / 0.5601 GB, free: 67.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003541/0.6688, allocations: 2.206 MB / 0.5623 GB, free: 65.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.005369/0.6742, allocations: 1.468 MB / 0.5637 GB, free: 63.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.6753, allocations: 171.4 kB / 0.5639 GB, free: 63.7 MB / 414.1 MB Notification: Performance of SimCode: time 1.473e-06/0.6753, allocations: 0 / 0.5639 GB, free: 63.7 MB / 414.1 MB Notification: Performance of Templates: time 0.05071/0.726, allocations: 22.06 MB / 0.5854 GB, free: 41.76 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/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) Reference file matches