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: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 186.8 kB / 16.4 MB, free: 5.746 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.08/2.08, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001125/0.001125, allocations: 97.98 kB / 270.9 MB, free: 8.367 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.5314/0.5314, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004834, allocations: 12 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.142, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5016/0.6437, allocations: 101.4 MB / 0.5779 GB, free: 1.082 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.644, allocations: 71.97 kB / 0.578 GB, free: 1.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2764/0.9204, allocations: 58.76 MB / 0.6353 GB, free: 5.867 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.9205, allocations: 0 / 0.6353 GB, free: 5.867 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001664/0.9206, allocations: 56 kB / 0.6354 GB, free: 5.812 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.01123/0.9319, allocations: 2.725 MB / 0.638 GB, free: 3.031 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.932, allocations: 8.031 kB / 0.6381 GB, free: 3.023 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002243/0.9342, allocations: 498.3 kB / 0.6385 GB, free: 2.527 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.9504, allocations: 1.977 MB / 0.6405 GB, free: 0.543 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/0.9648, allocations: 3.376 MB / 0.6438 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.9652, allocations: 184.8 kB / 0.6439 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/0.9668, allocations: 239.8 kB / 0.6442 GB, free: 12.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02042/0.9872, allocations: 6.908 MB / 0.6509 GB, free: 4.977 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001875/0.9875, allocations: 43.56 kB / 0.651 GB, free: 4.934 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000968/0.9885, allocations: 127.9 kB / 0.6511 GB, free: 4.809 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00182/0.9903, allocations: 0.7189 MB / 0.6518 GB, free: 4.094 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01923/1.01, allocations: 5.895 MB / 0.6575 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4236/1.433, allocations: 33.69 MB / 0.6904 GB, free: 81.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007056/1.44, allocations: 2.094 MB / 0.6925 GB, free: 81.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/1.441, allocations: 183.4 kB / 0.6927 GB, free: 81.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/1.441, allocations: 39.42 kB / 0.6927 GB, free: 80.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 5.951e-06/1.441, allocations: 1.375 kB / 0.6927 GB, free: 80.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.02585/1.467, allocations: 6.387 MB / 0.6989 GB, free: 79.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/1.467, allocations: 141 kB / 0.6991 GB, free: 79.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006743/1.473, allocations: 2.622 MB / 0.7016 GB, free: 78.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002821/1.474, allocations: 36.75 kB / 0.7017 GB, free: 78.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001889/1.476, allocations: 2.097 MB / 0.7037 GB, free: 77.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007104/1.476, allocations: 451.9 kB / 0.7041 GB, free: 77.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004936/1.477, allocations: 83.47 kB / 0.7042 GB, free: 77.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002888/1.477, allocations: 0.5018 MB / 0.7047 GB, free: 77.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003808/1.481, allocations: 1.418 MB / 0.7061 GB, free: 77.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005972/1.487, allocations: 4.256 MB / 0.7102 GB, free: 73.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005997/1.493, allocations: 2.415 MB / 0.7126 GB, free: 73.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/1.493, allocations: 28.19 kB / 0.7126 GB, free: 73.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01537/1.509, allocations: 5.404 MB / 0.7179 GB, free: 73.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.509, allocations: 48.75 kB / 0.718 GB, free: 73.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001691/1.509, allocations: 102.5 kB / 0.7181 GB, free: 73.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/1.509, allocations: 147.4 kB / 0.7182 GB, free: 73.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007025/1.516, allocations: 1.089 MB / 0.7193 GB, free: 72.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003864/1.517, allocations: 203.3 kB / 0.7195 GB, free: 72.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006649/1.523, allocations: 288.2 kB / 0.7197 GB, free: 72.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.525, allocations: 278 kB / 0.72 GB, free: 72.86 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.003785/1.528, allocations: 1.383 MB / 0.7213 GB, free: 72.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007453/1.529, allocations: 249 kB / 0.7216 GB, free: 72.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003256/1.532, allocations: 1.219 MB / 0.7228 GB, free: 72.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-05/1.532, allocations: 13.41 kB / 0.7228 GB, free: 72.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.533, allocations: 1.219 kB / 0.7228 GB, free: 72.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/1.533, allocations: 5.359 kB / 0.7228 GB, free: 72.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/1.547, allocations: 4.423 MB / 0.7271 GB, free: 70.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/1.547, allocations: 6 kB / 0.7271 GB, free: 70.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/1.549, allocations: 219.2 kB / 0.7273 GB, free: 70.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.297e-05/1.549, allocations: 9.219 kB / 0.7273 GB, free: 70.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/1.55, allocations: 20.67 kB / 0.7274 GB, free: 70.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.687e-05/1.55, allocations: 7.812 kB / 0.7274 GB, free: 70.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.55, allocations: 10.22 kB / 0.7274 GB, free: 70.92 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004965/1.555, allocations: 2.587 MB / 0.7299 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/1.557, allocations: 469 kB / 0.7303 GB, free: 68.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008605/1.557, allocations: 32.58 kB / 0.7304 GB, free: 68.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.56, allocations: 68.23 kB / 0.7304 GB, free: 68.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/1.56, allocations: 69.05 kB / 0.7305 GB, free: 68.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.56, allocations: 38.27 kB / 0.7305 GB, free: 68.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005947/1.566, allocations: 1.846 MB / 0.7323 GB, free: 68.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.054e-06/1.566, allocations: 0 / 0.7323 GB, free: 68.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005949/1.572, allocations: 0.6367 MB / 0.733 GB, free: 68.2 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.005811/1.578, allocations: 4.38 MB / 0.7372 GB, free: 64.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008697/1.587, allocations: 3.231 MB / 0.7404 GB, free: 63.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.587, allocations: 4.125 kB / 0.7404 GB, free: 63.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/1.589, allocations: 0.7765 MB / 0.7412 GB, free: 63.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/1.591, allocations: 256.7 kB / 0.7414 GB, free: 63.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07603/1.667, allocations: 91.27 MB / 0.8305 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004466/1.672, allocations: 2.271 MB / 0.8328 GB, free: 26.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003054/1.675, allocations: 1.117 MB / 0.8338 GB, free: 25.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.372e-06/1.675, allocations: 0 / 0.8338 GB, free: 25.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.949/5.624, allocations: 52.42 MB / 0.885 GB, free: 145.4 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat