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.002201/0.002206, allocations: 178.3 kB / 8.359 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.0011, allocations: 89.73 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3063/0.3063, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.482e-05/1.482e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3952, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.5857, allocations: 100.7 MB / 0.5642 GB, free: 14.59 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.586, allocations: 75.97 kB / 0.5643 GB, free: 14.51 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3125/0.8986, allocations: 57.87 MB / 0.6208 GB, free: 4.188 MB / 459.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.8986, allocations: 3.938 kB / 0.6208 GB, free: 4.184 MB / 459.1 MB Notification: Performance of Transformations before backend: time 0.0001573/0.8988, allocations: 44 kB / 0.6209 GB, free: 4.141 MB / 459.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.01037/0.9092, allocations: 2.599 MB / 0.6234 GB, free: 1.484 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.9093, allocations: 8.031 kB / 0.6234 GB, free: 1.477 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.9253, allocations: 1.985 MB / 0.6253 GB, free: 15.48 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/0.9398, allocations: 3.357 MB / 0.6286 GB, free: 12.08 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.94, allocations: 76 kB / 0.6287 GB, free: 12 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001479/0.9415, allocations: 140 kB / 0.6288 GB, free: 11.87 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01126/0.9528, allocations: 3.96 MB / 0.6327 GB, free: 7.902 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/0.9696, allocations: 6.273 MB / 0.6388 GB, free: 0.8281 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001677/0.9698, allocations: 47.53 kB / 0.6389 GB, free: 0.7812 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009164/0.9708, allocations: 27.95 kB / 0.6389 GB, free: 0.7539 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001814/0.9726, allocations: 0.715 MB / 0.6396 GB, free: 32 kB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3667/1.339, allocations: 32.23 MB / 0.6711 GB, free: 95.48 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003747/1.343, allocations: 1.943 MB / 0.673 GB, free: 94.81 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002253/1.345, allocations: 1.001 MB / 0.6739 GB, free: 94.77 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/1.346, allocations: 181.6 kB / 0.6741 GB, free: 94.58 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/1.346, allocations: 44.33 kB / 0.6742 GB, free: 94.54 MB / 475.1 MB Notification: Performance of pre-optimization done (n=100): time 5.47e-06/1.346, allocations: 1.156 kB / 0.6742 GB, free: 94.54 MB / 475.1 MB Notification: Performance of matching and sorting (n=112): time 0.02028/1.366, allocations: 6.296 MB / 0.6803 GB, free: 92.54 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/1.366, allocations: 137.6 kB / 0.6804 GB, free: 92.38 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005673/1.372, allocations: 2.191 MB / 0.6826 GB, free: 91.56 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002941/1.372, allocations: 30.45 kB / 0.6826 GB, free: 91.53 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001917/1.374, allocations: 2.183 MB / 0.6847 GB, free: 89.93 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007603/1.375, allocations: 445.2 kB / 0.6852 GB, free: 89.62 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004564/1.376, allocations: 0 / 0.6852 GB, free: 89.62 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0003269/1.376, allocations: 0.5053 MB / 0.6856 GB, free: 89.22 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/1.379, allocations: 1.313 MB / 0.6869 GB, free: 88.78 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005222/1.385, allocations: 4.273 MB / 0.6911 GB, free: 84.32 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005168/1.39, allocations: 2.353 MB / 0.6934 GB, free: 83.67 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/1.39, allocations: 29.34 kB / 0.6934 GB, free: 83.67 MB / 475.1 MB Notification: Performance of matching and sorting (n=599) (initialization): time 0.01274/1.403, allocations: 4.83 MB / 0.6981 GB, free: 82.09 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.724e-05/1.403, allocations: 55.17 kB / 0.6982 GB, free: 82.09 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/1.403, allocations: 110.3 kB / 0.6983 GB, free: 82.09 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/1.403, allocations: 160 kB / 0.6985 GB, free: 82.08 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006697/1.41, allocations: 1.126 MB / 0.6996 GB, free: 81.95 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000183/1.41, allocations: 209 kB / 0.6998 GB, free: 81.9 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005341/1.415, allocations: 209.5 kB / 0.7 GB, free: 81.88 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/1.417, allocations: 295.2 kB / 0.7002 GB, free: 81.84 MB / 475.1 MB 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.0008417/1.417, allocations: 370.8 kB / 0.7006 GB, free: 81.52 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006579/1.418, allocations: 216.8 kB / 0.7008 GB, free: 81.41 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/1.421, allocations: 1.143 MB / 0.7019 GB, free: 80.98 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.328e-05/1.421, allocations: 13.03 kB / 0.7019 GB, free: 80.98 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/1.421, allocations: 3.688 kB / 0.7019 GB, free: 80.98 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/1.421, allocations: 3.375 kB / 0.7019 GB, free: 80.98 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/1.432, allocations: 3.904 MB / 0.7057 GB, free: 79.43 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.432, allocations: 7.5 kB / 0.7058 GB, free: 79.43 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/1.434, allocations: 212.1 kB / 0.706 GB, free: 79.41 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.139e-05/1.434, allocations: 7.656 kB / 0.706 GB, free: 79.41 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/1.434, allocations: 8.125 kB / 0.706 GB, free: 79.41 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-05/1.434, allocations: 16.3 kB / 0.706 GB, free: 79.41 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.434, allocations: 6.562 kB / 0.706 GB, free: 79.41 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/1.438, allocations: 2.42 MB / 0.7084 GB, free: 77.81 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.44, allocations: 440.1 kB / 0.7088 GB, free: 77.53 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004965/1.44, allocations: 3.875 kB / 0.7088 GB, free: 77.53 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/1.442, allocations: 60.53 kB / 0.7088 GB, free: 77.53 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/1.442, allocations: 69.38 kB / 0.7089 GB, free: 77.51 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.442, allocations: 37.59 kB / 0.7089 GB, free: 77.5 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.002992/1.445, allocations: 1.442 MB / 0.7103 GB, free: 76.95 MB / 475.1 MB Notification: Performance of sort global known variables: time 9.31e-07/1.445, allocations: 0 / 0.7103 GB, free: 76.95 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.005047/1.451, allocations: 0.535 MB / 0.7109 GB, free: 76.95 MB / 475.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 () * 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.0004504/1.451, allocations: 149.3 kB / 0.711 GB, free: 76.84 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.006252/1.457, allocations: 3.007 MB / 0.7139 GB, free: 75.86 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.457, allocations: 4.188 kB / 0.714 GB, free: 75.86 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/1.459, allocations: 0.7498 MB / 0.7147 GB, free: 75.61 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/1.461, allocations: 210.3 kB / 0.7149 GB, free: 75.52 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/1.473, allocations: 4.851 MB / 0.7196 GB, free: 73.61 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002787/1.476, allocations: 2.265 MB / 0.7218 GB, free: 72.58 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.477, allocations: 198.1 kB / 0.722 GB, free: 72.57 MB / 475.1 MB Notification: Performance of SimCode: time 1.353e-06/1.477, allocations: 0 / 0.722 GB, free: 72.57 MB / 475.1 MB Notification: Performance of Templates: time 0.06998/1.547, allocations: 34.84 MB / 0.756 GB, free: 44.32 MB / 475.1 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