Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 92.42 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5102/0.5102, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000509/0.000509, allocations: 8 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1269, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5357/0.6627, allocations: 101.4 MB / 0.5778 GB, free: 1.273 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.663, allocations: 79.95 kB / 0.5779 GB, free: 1.195 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2682/0.9312, allocations: 58.76 MB / 0.6352 GB, free: 6.043 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.9313, allocations: 3.938 kB / 0.6352 GB, free: 6.039 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001649/0.9315, allocations: 44 kB / 0.6353 GB, free: 5.996 MB / 458.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.01085/0.9423, allocations: 2.737 MB / 0.638 GB, free: 3.203 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.9424, allocations: 8.031 kB / 0.638 GB, free: 3.195 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/0.9585, allocations: 1.978 MB / 0.6399 GB, free: 1.211 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/0.9729, allocations: 3.369 MB / 0.6432 GB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002969/0.9732, allocations: 192.8 kB / 0.6434 GB, free: 13.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/0.9748, allocations: 243.8 kB / 0.6436 GB, free: 13.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02029/0.9951, allocations: 6.901 MB / 0.6503 GB, free: 5.648 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001846/0.9953, allocations: 47.56 kB / 0.6504 GB, free: 5.602 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00115/0.9965, allocations: 123.9 kB / 0.6505 GB, free: 5.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001821/0.9983, allocations: 0.7227 MB / 0.6512 GB, free: 4.762 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/1.017, allocations: 5.895 MB / 0.657 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3979/1.415, allocations: 33.68 MB / 0.6899 GB, free: 82.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006852/1.422, allocations: 2.092 MB / 0.6919 GB, free: 81.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/1.422, allocations: 180.3 kB / 0.6921 GB, free: 81.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/1.422, allocations: 47.41 kB / 0.6921 GB, free: 81.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 5.36e-06/1.422, allocations: 1.219 kB / 0.6921 GB, free: 81.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.0244/1.447, allocations: 6.381 MB / 0.6983 GB, free: 79.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/1.447, allocations: 146.7 kB / 0.6985 GB, free: 79.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006438/1.453, allocations: 2.621 MB / 0.701 GB, free: 79.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002769/1.454, allocations: 43.11 kB / 0.7011 GB, free: 79.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001816/1.456, allocations: 2.089 MB / 0.7031 GB, free: 78.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007678/1.456, allocations: 461.5 kB / 0.7036 GB, free: 77.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000549/1.457, allocations: 86.56 kB / 0.7037 GB, free: 77.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002951/1.457, allocations: 0.4921 MB / 0.7041 GB, free: 77.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003874/1.461, allocations: 1.416 MB / 0.7055 GB, free: 77.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005989/1.467, allocations: 4.259 MB / 0.7097 GB, free: 73.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006103/1.473, allocations: 2.414 MB / 0.712 GB, free: 73.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001349/1.473, allocations: 30.88 kB / 0.7121 GB, free: 73.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01504/1.489, allocations: 5.401 MB / 0.7173 GB, free: 73.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.489, allocations: 47.97 kB / 0.7174 GB, free: 73.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/1.489, allocations: 101.7 kB / 0.7175 GB, free: 73.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/1.489, allocations: 148.2 kB / 0.7176 GB, free: 73.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006716/1.496, allocations: 1.081 MB / 0.7187 GB, free: 73.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002291/1.496, allocations: 204 kB / 0.7189 GB, free: 73.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005444/1.502, allocations: 298 kB / 0.7192 GB, free: 73.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.503, allocations: 281.9 kB / 0.7194 GB, free: 73.37 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * 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 (551): * Single equations (assignments): 548 * 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.003875/1.507, allocations: 1.379 MB / 0.7208 GB, free: 73.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007244/1.507, allocations: 242.4 kB / 0.721 GB, free: 72.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/1.511, allocations: 1.222 MB / 0.7222 GB, free: 72.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.943e-05/1.511, allocations: 13.95 kB / 0.7222 GB, free: 72.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/1.511, allocations: 7.219 kB / 0.7222 GB, free: 72.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/1.511, allocations: 6.922 kB / 0.7222 GB, free: 72.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/1.524, allocations: 4.411 MB / 0.7265 GB, free: 71.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/1.525, allocations: 4 kB / 0.7265 GB, free: 71.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/1.527, allocations: 216.5 kB / 0.7267 GB, free: 71.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.378e-05/1.527, allocations: 13.16 kB / 0.7267 GB, free: 71.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/1.527, allocations: 28.45 kB / 0.7268 GB, free: 71.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.628e-05/1.527, allocations: 7.688 kB / 0.7268 GB, free: 71.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/1.527, allocations: 11.11 kB / 0.7268 GB, free: 71.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004758/1.532, allocations: 2.576 MB / 0.7293 GB, free: 69.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/1.533, allocations: 465.6 kB / 0.7298 GB, free: 69.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006373/1.534, allocations: 29.61 kB / 0.7298 GB, free: 69.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/1.536, allocations: 76.66 kB / 0.7299 GB, free: 69.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/1.536, allocations: 67.89 kB / 0.7299 GB, free: 69.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.536, allocations: 33.44 kB / 0.73 GB, free: 69.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005389/1.542, allocations: 1.851 MB / 0.7318 GB, free: 68.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.542, allocations: 0 / 0.7318 GB, free: 68.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005503/1.547, allocations: 0.6362 MB / 0.7324 GB, free: 68.35 MB / 490.7 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 (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.0005917/1.548, allocations: 162.5 kB / 0.7325 GB, free: 68.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008791/1.557, allocations: 3.231 MB / 0.7357 GB, free: 67.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.557, allocations: 6.031 kB / 0.7357 GB, free: 67.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/1.559, allocations: 0.7837 MB / 0.7365 GB, free: 66.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/1.561, allocations: 249.5 kB / 0.7367 GB, free: 66.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/1.577, allocations: 6.861 MB / 0.7434 GB, free: 63.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004316/1.582, allocations: 2.273 MB / 0.7456 GB, free: 62.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/1.583, allocations: 211.2 kB / 0.7458 GB, free: 62.19 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/1.583, allocations: 0 / 0.7458 GB, free: 62.19 MB / 490.7 MB Notification: Performance of Templates: time 0.07249/1.655, allocations: 36.39 MB / 0.7814 GB, free: 55.2 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches