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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.000877/0.0008771, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009147/0.0009147, allocations: 95.11 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2197/0.2197, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.633e-05/1.635e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1452, allocations: 61.92 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4802/0.6255, allocations: 102.3 MB / 0.5946 GB, free: 10.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.6257, allocations: 71.81 kB / 0.5947 GB, free: 10.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1562/0.7819, allocations: 58.6 MB / 0.6519 GB, free: 15.01 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.782, allocations: 0 / 0.6519 GB, free: 15.01 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001288/0.7822, allocations: 47.94 kB / 0.6519 GB, free: 14.96 MB / 474.7 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.008005/0.7902, allocations: 2.589 MB / 0.6545 GB, free: 12.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.7902, allocations: 11.98 kB / 0.6545 GB, free: 12.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008902/0.7991, allocations: 1.981 MB / 0.6564 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009695/0.8089, allocations: 3.212 MB / 0.6596 GB, free: 7.051 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.8091, allocations: 80 kB / 0.6596 GB, free: 6.973 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000694/0.8098, allocations: 136 kB / 0.6598 GB, free: 6.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006294/0.8161, allocations: 3.971 MB / 0.6636 GB, free: 2.863 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008333/0.8244, allocations: 6.259 MB / 0.6698 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-05/0.8246, allocations: 51.52 kB / 0.6698 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003385/0.8249, allocations: 27.98 kB / 0.6698 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009713/0.8259, allocations: 0.7189 MB / 0.6705 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03388/0.8598, allocations: 32.21 MB / 0.702 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.8623, allocations: 1.947 MB / 0.7039 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.8635, allocations: 0.9918 MB / 0.7049 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.8637, allocations: 182.7 kB / 0.705 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.8638, allocations: 50.72 kB / 0.7051 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=100): time 4.157e-06/0.8638, allocations: 0 / 0.7051 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112): time 0.01108/0.8749, allocations: 6.236 MB / 0.7112 GB, free: 128 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3278/1.203, allocations: 134.6 kB / 0.7113 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/1.207, allocations: 2.181 MB / 0.7134 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002873/1.207, allocations: 26.86 kB / 0.7135 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001478/1.209, allocations: 2.161 MB / 0.7156 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005681/1.209, allocations: 448.4 kB / 0.716 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/1.209, allocations: 1.031 kB / 0.716 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003806/1.21, allocations: 0.5484 MB / 0.7165 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/1.212, allocations: 1.312 MB / 0.7178 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003563/1.215, allocations: 4.272 MB / 0.722 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/1.22, allocations: 2.339 MB / 0.7243 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.431e-05/1.22, allocations: 33.53 kB / 0.7243 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=599) (initialization): time 0.01024/1.23, allocations: 4.883 MB / 0.7291 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.23, allocations: 52.75 kB / 0.7291 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00022/1.23, allocations: 109.8 kB / 0.7292 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/1.231, allocations: 155.3 kB / 0.7294 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/1.235, allocations: 1.131 MB / 0.7305 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002711/1.235, allocations: 214.2 kB / 0.7307 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003989/1.239, allocations: 206.7 kB / 0.7309 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007328/1.24, allocations: 291.5 kB / 0.7312 GB, free: 142.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (575): * Single equations (assignments): 572 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007377/1.241, allocations: 358.2 kB / 0.7315 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006108/1.241, allocations: 218.7 kB / 0.7317 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/1.244, allocations: 1.149 MB / 0.7328 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/1.244, allocations: 16.75 kB / 0.7328 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/1.244, allocations: 2.109 kB / 0.7328 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/1.244, allocations: 4.953 kB / 0.7329 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007697/1.252, allocations: 3.899 MB / 0.7367 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/1.252, allocations: 3.719 kB / 0.7367 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009969/1.253, allocations: 211.5 kB / 0.7369 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.442e-05/1.253, allocations: 14.77 kB / 0.7369 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/1.253, allocations: 6.656 kB / 0.7369 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.58e-05/1.253, allocations: 18.39 kB / 0.7369 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.253, allocations: 5.125 kB / 0.7369 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/1.255, allocations: 2.428 MB / 0.7393 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/1.256, allocations: 277.9 kB / 0.7395 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/1.256, allocations: 8.594 kB / 0.7396 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008842/1.257, allocations: 62.78 kB / 0.7396 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.257, allocations: 65.27 kB / 0.7397 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.419e-05/1.257, allocations: 38.89 kB / 0.7397 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001715/1.259, allocations: 1.432 MB / 0.7411 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/1.259, allocations: 2.812 kB / 0.7411 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003592/1.262, allocations: 0.5348 MB / 0.7416 GB, free: 139.6 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003396/1.263, allocations: 158.4 kB / 0.7418 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004077/1.267, allocations: 3.001 MB / 0.7447 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/1.267, allocations: 0 / 0.7447 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007351/1.267, allocations: 0.7548 MB / 0.7455 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/1.269, allocations: 202.3 kB / 0.7456 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007437/1.276, allocations: 4.54 MB / 0.7501 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/1.278, allocations: 2.268 MB / 0.7523 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003627/1.282, allocations: 1.498 MB / 0.7538 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/1.282, allocations: 154.3 kB / 0.7539 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.693e-06/1.282, allocations: 4 kB / 0.7539 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.03144/1.314, allocations: 18 MB / 0.7715 GB, free: 134.4 MB / 0.5105 GB 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","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches