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.002291/0.00229, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001142/0.001141, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3/0.3, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.971e-05/6.996e-05, allocations: 7.984 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1683, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5262/0.6945, allocations: 101.4 MB / 0.5718 GB, free: 2.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.6948, allocations: 73.75 kB / 0.5718 GB, free: 2.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2852/0.98, allocations: 58.77 MB / 0.6292 GB, free: 15.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.9801, allocations: 0 / 0.6292 GB, free: 15.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002183/0.9803, allocations: 48 kB / 0.6293 GB, free: 15.09 MB / 442.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.01114/0.9915, allocations: 2.597 MB / 0.6318 GB, free: 12.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.9916, allocations: 8.031 kB / 0.6318 GB, free: 12.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/1.008, allocations: 1.99 MB / 0.6338 GB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01388/1.022, allocations: 3.359 MB / 0.637 GB, free: 7.641 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002654/1.022, allocations: 180.8 kB / 0.6372 GB, free: 7.461 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001447/1.023, allocations: 235.9 kB / 0.6374 GB, free: 7.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/1.042, allocations: 6.826 MB / 0.6441 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/1.042, allocations: 51.52 kB / 0.6441 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001311/1.043, allocations: 131.9 kB / 0.6443 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002103/1.046, allocations: 0.715 MB / 0.645 GB, free: 14.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01773/1.063, allocations: 5.748 MB / 0.6506 GB, free: 8.941 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05065/1.114, allocations: 33.7 MB / 0.6835 GB, free: 6.062 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00694/1.121, allocations: 2.083 MB / 0.6855 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002367/1.124, allocations: 1.019 MB / 0.6865 GB, free: 2.805 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/1.124, allocations: 178.5 kB / 0.6867 GB, free: 2.594 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/1.124, allocations: 50.83 kB / 0.6867 GB, free: 2.535 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 4.709e-06/1.124, allocations: 0 / 0.6867 GB, free: 2.535 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.0216/1.146, allocations: 5.161 MB / 0.6918 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.954e-05/1.146, allocations: 144.9 kB / 0.6919 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005769/1.151, allocations: 2.561 MB / 0.6944 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003013/1.152, allocations: 41.7 kB / 0.6945 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003293/1.155, allocations: 2.093 MB / 0.6965 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/1.156, allocations: 458.4 kB / 0.6969 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006058/1.157, allocations: 84 kB / 0.697 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006422/1.158, allocations: 0.4967 MB / 0.6975 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005959/1.164, allocations: 1.352 MB / 0.6988 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006861/1.17, allocations: 4.203 MB / 0.7029 GB, free: 388 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3591/1.53, allocations: 2.373 MB / 0.7053 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/1.53, allocations: 28.94 kB / 0.7053 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01531/1.545, allocations: 5.281 MB / 0.7104 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-05/1.545, allocations: 49.5 kB / 0.7105 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002007/1.545, allocations: 101.8 kB / 0.7106 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/1.546, allocations: 153.1 kB / 0.7107 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007696/1.553, allocations: 1.089 MB / 0.7118 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003177/1.554, allocations: 198.4 kB / 0.712 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005523/1.559, allocations: 290.5 kB / 0.7123 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/1.561, allocations: 279.4 kB / 0.7125 GB, free: 137.8 MB / 0.4948 GB 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 () * 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.001577/1.562, allocations: 451.9 kB / 0.713 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006908/1.563, allocations: 243.6 kB / 0.7132 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/1.567, allocations: 1.219 MB / 0.7144 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-05/1.567, allocations: 13.81 kB / 0.7144 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.567, allocations: 2.047 kB / 0.7144 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/1.567, allocations: 5.906 kB / 0.7144 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/1.583, allocations: 4.402 MB / 0.7187 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/1.583, allocations: 6.703 kB / 0.7187 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.585, allocations: 206.9 kB / 0.7189 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.912e-05/1.585, allocations: 9.594 kB / 0.7189 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/1.585, allocations: 25.31 kB / 0.7189 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.865e-05/1.585, allocations: 13.39 kB / 0.7189 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.585, allocations: 6.703 kB / 0.719 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004466/1.59, allocations: 2.575 MB / 0.7215 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.591, allocations: 469.5 kB / 0.7219 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007233/1.592, allocations: 25.23 kB / 0.7219 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/1.594, allocations: 74.67 kB / 0.722 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/1.595, allocations: 65.3 kB / 0.7221 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.595, allocations: 39.78 kB / 0.7221 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004497/1.599, allocations: 1.785 MB / 0.7239 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.844e-06/1.599, allocations: 0 / 0.7239 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005203/1.605, allocations: 0.6413 MB / 0.7245 GB, free: 135.5 MB / 0.4948 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.0006279/1.605, allocations: 166.4 kB / 0.7246 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007179/1.612, allocations: 3.165 MB / 0.7277 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.612, allocations: 0 / 0.7277 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00165/1.614, allocations: 0.7696 MB / 0.7285 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/1.616, allocations: 251.7 kB / 0.7287 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/1.63, allocations: 4.914 MB / 0.7335 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003889/1.634, allocations: 2.269 MB / 0.7357 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.635, allocations: 204.5 kB / 0.7359 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.453e-06/1.635, allocations: 0 / 0.7359 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.07298/1.708, allocations: 36.4 MB / 0.7715 GB, free: 119.8 MB / 0.4948 GB 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