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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=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_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 105.2 kB / 17.63 MB, free: 5.344 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.001/0.001, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.2 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2043/0.2043, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 61.91 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1193, allocations: 60.82 MB / 469.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009602/0.129, allocations: 7.475 MB / 476.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006957/0.136, allocations: 3.333 MB / 480.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.1373, allocations: 35.88 kB / 480.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.1395, allocations: 0.7937 MB / 480.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003273/0.1429, allocations: 1.331 MB / 482.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.1445, allocations: 0.5262 MB / 482.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003807/0.1483, allocations: 2.554 MB / 485.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.1503, allocations: 1.245 MB / 486.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.1518, allocations: 0.7744 MB / 487.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.1537, allocations: 1.121 MB / 488.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004947/0.1542, allocations: 140 kB / 488.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.156, allocations: 0.9477 MB / 489.5 MB, free: 10 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.1572, allocations: 1.021 MB / 490.5 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.1592, allocations: 1.223 MB / 491.8 MB, free: 7.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005281/0.1645, allocations: 3.882 MB / 495.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.1645, allocations: 0 / 495.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.1645, allocations: 0 / 495.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002022/0.1647, allocations: 4 kB / 495.6 MB, free: 3.852 MB / 366.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.006047/0.1708, allocations: 2.957 MB / 498.6 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1708, allocations: 8.031 kB / 498.6 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005843/0.1767, allocations: 1.651 MB / 0.4885 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.1792, allocations: 1.336 MB / 0.4898 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.1794, allocations: 119.4 kB / 0.49 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005117/0.1799, allocations: 171.9 kB / 0.4901 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.1909, allocations: 6.464 MB / 0.4964 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-05/0.1911, allocations: 27.75 kB / 0.4965 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004327/0.1915, allocations: 83.89 kB / 0.4965 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002612/0.1941, allocations: 1.433 MB / 0.4979 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2091/0.4033, allocations: 5.731 MB / 0.5035 GB, free: 44.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02428/0.4276, allocations: 26.79 MB / 0.5297 GB, free: 25.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/0.4313, allocations: 2.142 MB / 0.5318 GB, free: 24.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.4324, allocations: 1.043 MB / 0.5328 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.4325, allocations: 178.9 kB / 0.533 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.4326, allocations: 42.67 kB / 0.533 GB, free: 23.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.985e-06/0.4326, allocations: 0 / 0.533 GB, free: 23.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.0142/0.4468, allocations: 6.376 MB / 0.5393 GB, free: 20.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.4469, allocations: 140.7 kB / 0.5394 GB, free: 20.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/0.4501, allocations: 2.89 MB / 0.5422 GB, free: 18.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.4503, allocations: 41.33 kB / 0.5422 GB, free: 18.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/0.4515, allocations: 2.102 MB / 0.5443 GB, free: 16.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.452, allocations: 454.8 kB / 0.5447 GB, free: 16.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008919/0.4529, allocations: 0.8989 MB / 0.5456 GB, free: 15.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.4529, allocations: 301.1 kB / 0.5459 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.4545, allocations: 1.43 MB / 0.5473 GB, free: 14.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/0.4572, allocations: 4.3 MB / 0.5515 GB, free: 8.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004688/0.4619, allocations: 6.21 MB / 0.5576 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.22e-05/0.462, allocations: 28 kB / 0.5576 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008434/0.4704, allocations: 5.516 MB / 0.563 GB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/0.4705, allocations: 50.66 kB / 0.563 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.193e-05/0.4706, allocations: 100.3 kB / 0.5631 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.4707, allocations: 136 kB / 0.5632 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/0.4747, allocations: 1.224 MB / 0.5644 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001736/0.4749, allocations: 207.2 kB / 0.5646 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/0.4778, allocations: 240.4 kB / 0.5649 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003425/0.4782, allocations: 280 kB / 0.5651 GB, free: 8.91 MB / 398.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.00189/0.4801, allocations: 1.387 MB / 0.5665 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004775/0.4805, allocations: 244.8 kB / 0.5667 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.4825, allocations: 1.24 MB / 0.5679 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.4825, allocations: 16.14 kB / 0.568 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.4825, allocations: 4 kB / 0.568 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.4826, allocations: 7.969 kB / 0.568 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007371/0.4899, allocations: 4.561 MB / 0.5724 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.49, allocations: 4 kB / 0.5724 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/0.4919, allocations: 367.2 kB / 0.5728 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/0.4919, allocations: 8 kB / 0.5728 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/0.492, allocations: 28.52 kB / 0.5728 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.492, allocations: 14.06 kB / 0.5728 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.492, allocations: 11.94 kB / 0.5728 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.4947, allocations: 2.156 MB / 0.5749 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/0.4954, allocations: 309.8 kB / 0.5752 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.4956, allocations: 20 kB / 0.5753 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009004/0.4966, allocations: 59.92 kB / 0.5753 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.4967, allocations: 67.8 kB / 0.5754 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.05e-05/0.4968, allocations: 36 kB / 0.5754 GB, free: 14.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002569/0.4994, allocations: 1.815 MB / 0.5772 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4994, allocations: 0 / 0.5772 GB, free: 12.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003424/0.5028, allocations: 0.6417 MB / 0.5778 GB, free: 11.73 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.0004271/0.5033, allocations: 152.2 kB / 0.578 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006471/0.5097, allocations: 3.478 MB / 0.5813 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.5098, allocations: 4 kB / 0.5814 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.5108, allocations: 0.7957 MB / 0.5821 GB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.5128, allocations: 276.6 kB / 0.5824 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009113/0.5219, allocations: 5.615 MB / 0.5879 GB, free: 1.379 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/0.5241, allocations: 2.21 MB / 0.59 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003264/0.5274, allocations: 1.463 MB / 0.5915 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005055/0.5279, allocations: 167.4 kB / 0.5916 GB, free: 13.5 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5279, allocations: 0 / 0.5916 GB, free: 13.5 MB / 430.1 MB Notification: Performance of Templates: time 0.04154/0.5695, allocations: 22.04 MB / 0.6131 GB, free: 7.566 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile (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) 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) Reference file matches