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.001754/0.001754, allocations: 106.9 kB / 17.03 MB, free: 5.66 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.002115/0.002115, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.412/1.412, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.1966/0.1966, allocations: 43.51 MB / 314.7 MB, free: 484 kB / 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.001687/0.001687, allocations: 67.22 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09621, allocations: 57.8 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.00737/0.1036, allocations: 7.491 MB / 449.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006033/0.1097, allocations: 3.338 MB / 452.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008811/0.1106, allocations: 31.94 kB / 452.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.1125, allocations: 0.8053 MB / 453.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.1156, allocations: 1.319 MB / 454.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.1169, allocations: 0.5262 MB / 455.5 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003481/0.1204, allocations: 2.578 MB / 458 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.1222, allocations: 1.249 MB / 459.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.1235, allocations: 0.786 MB / 460.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.1252, allocations: 1.121 MB / 461.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005021/0.1258, allocations: 140 kB / 461.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.1276, allocations: 0.9399 MB / 462.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.1289, allocations: 1.028 MB / 463.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001885/0.1308, allocations: 1.223 MB / 464.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005198/0.136, allocations: 4.052 MB / 468.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.136, allocations: 7.922 kB / 468.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.136, allocations: 0 / 468.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000138/0.1362, allocations: 0 / 468.6 MB, free: 11.41 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.007157/0.1433, allocations: 2.969 MB / 471.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.1434, allocations: 11.89 kB / 471.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005791/0.1492, allocations: 1.655 MB / 473.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/0.1526, allocations: 1.398 MB / 474.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.1527, allocations: 123.4 kB / 474.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000436/0.1532, allocations: 163.9 kB / 474.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009563/0.1627, allocations: 6.456 MB / 481.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.272e-05/0.1629, allocations: 31.75 kB / 481.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.1631, allocations: 83.89 kB / 481.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002531/0.1657, allocations: 1.437 MB / 482.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.1759, allocations: 5.732 MB / 488.6 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03289/0.2088, allocations: 26.71 MB / 0.5033 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.2134, allocations: 2.149 MB / 0.5054 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.2149, allocations: 1.043 MB / 0.5064 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.2152, allocations: 178.5 kB / 0.5066 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.2152, allocations: 42.88 kB / 0.5066 GB, free: 7.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.947e-06/0.2152, allocations: 0 / 0.5066 GB, free: 7.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01587/0.2311, allocations: 6.389 MB / 0.5128 GB, free: 1.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.2312, allocations: 148.8 kB / 0.513 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/0.2363, allocations: 2.901 MB / 0.5158 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002079/0.2365, allocations: 41.7 kB / 0.5159 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001727/0.2383, allocations: 2.106 MB / 0.5179 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006609/0.2389, allocations: 458.4 kB / 0.5183 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001897/0.2409, allocations: 0.8927 MB / 0.5192 GB, free: 10.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.241, allocations: 301.1 kB / 0.5195 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/0.2434, allocations: 1.43 MB / 0.5209 GB, free: 8.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004437/0.2479, allocations: 4.299 MB / 0.5251 GB, free: 3.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2352/0.483, allocations: 6.204 MB / 0.5312 GB, free: 81.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/0.4832, allocations: 28.84 kB / 0.5312 GB, free: 81.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01189/0.4951, allocations: 5.503 MB / 0.5366 GB, free: 80.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.982e-05/0.4952, allocations: 48.12 kB / 0.5366 GB, free: 80.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/0.4953, allocations: 106 kB / 0.5367 GB, free: 80.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.4955, allocations: 130.7 kB / 0.5368 GB, free: 80.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/0.5001, allocations: 1.234 MB / 0.538 GB, free: 80.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002338/0.5003, allocations: 203.1 kB / 0.5382 GB, free: 80.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.5033, allocations: 239.6 kB / 0.5385 GB, free: 79.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003983/0.5037, allocations: 282.9 kB / 0.5387 GB, free: 79.93 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.002254/0.506, allocations: 1.384 MB / 0.5401 GB, free: 79.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/0.5064, allocations: 238.1 kB / 0.5403 GB, free: 79.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.5085, allocations: 1.242 MB / 0.5415 GB, free: 78.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/0.5086, allocations: 17.61 kB / 0.5415 GB, free: 78.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.5086, allocations: 1.219 kB / 0.5415 GB, free: 78.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.5086, allocations: 6.094 kB / 0.5415 GB, free: 78.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007892/0.5165, allocations: 4.562 MB / 0.546 GB, free: 77.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.5166, allocations: 7 kB / 0.546 GB, free: 77.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.5182, allocations: 364.4 kB / 0.5464 GB, free: 77.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.5183, allocations: 8.062 kB / 0.5464 GB, free: 77.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-05/0.5183, allocations: 24.09 kB / 0.5464 GB, free: 77.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.5184, allocations: 11.62 kB / 0.5464 GB, free: 77.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.5184, allocations: 5.875 kB / 0.5464 GB, free: 77.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.5206, allocations: 2.172 MB / 0.5485 GB, free: 75.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009174/0.5215, allocations: 461.5 kB / 0.549 GB, free: 75.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/0.5218, allocations: 21.38 kB / 0.549 GB, free: 75.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008851/0.5226, allocations: 59.91 kB / 0.549 GB, free: 75.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.5228, allocations: 70.22 kB / 0.5491 GB, free: 75.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.991e-05/0.5229, allocations: 37.11 kB / 0.5491 GB, free: 75.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002156/0.525, allocations: 1.823 MB / 0.5509 GB, free: 74.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5251, allocations: 2.906 kB / 0.5509 GB, free: 74.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003189/0.5282, allocations: 0.6297 MB / 0.5515 GB, free: 74.89 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.0004148/0.5287, allocations: 154.2 kB / 0.5517 GB, free: 74.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00449/0.5332, allocations: 3.275 MB / 0.5549 GB, free: 73.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.5332, allocations: 0.875 kB / 0.5549 GB, free: 73.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008897/0.5341, allocations: 0.7981 MB / 0.5557 GB, free: 72.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.5366, allocations: 276 kB / 0.5559 GB, free: 72.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.5468, allocations: 5.58 MB / 0.5614 GB, free: 66.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002563/0.5494, allocations: 2.216 MB / 0.5635 GB, free: 64.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003002/0.5524, allocations: 1.455 MB / 0.565 GB, free: 63.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006769/0.5531, allocations: 167.4 kB / 0.5651 GB, free: 63.06 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5531, allocations: 4 kB / 0.5651 GB, free: 63.05 MB / 414.1 MB Notification: Performance of Templates: time 0.03376/0.5868, allocations: 18.19 MB / 0.5829 GB, free: 45.07 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 -s gbode -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