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.002097/0.002097, allocations: 178.4 kB / 8.362 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 2.147/2.147, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001097/0.001097, allocations: 94.25 kB / 262.1 MB, free: 13.88 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.3727/0.3727, allocations: 43.48 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.447e-05, allocations: 4 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4088, allocations: 58.84 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.6053, allocations: 100.7 MB / 0.5643 GB, free: 14.48 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.6056, allocations: 71.47 kB / 0.5644 GB, free: 14.41 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.27/0.8756, allocations: 57.87 MB / 0.6209 GB, free: 4.082 MB / 459.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.8757, allocations: 0 / 0.6209 GB, free: 4.082 MB / 459.1 MB Notification: Performance of Transformations before backend: time 0.0001331/0.8758, allocations: 48 kB / 0.621 GB, free: 4.035 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.009419/0.8853, allocations: 2.604 MB / 0.6235 GB, free: 1.375 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.909e-05/0.8854, allocations: 8.031 kB / 0.6235 GB, free: 1.367 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/0.9017, allocations: 1.981 MB / 0.6254 GB, free: 15.38 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/0.9163, allocations: 3.349 MB / 0.6287 GB, free: 11.98 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.9166, allocations: 83.94 kB / 0.6288 GB, free: 11.9 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001615/0.9182, allocations: 144 kB / 0.6289 GB, free: 11.76 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01188/0.9301, allocations: 3.96 MB / 0.6328 GB, free: 7.793 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.9473, allocations: 6.269 MB / 0.6389 GB, free: 0.7227 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001653/0.9476, allocations: 43.53 kB / 0.639 GB, free: 0.6797 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007625/0.9483, allocations: 35.89 kB / 0.639 GB, free: 0.6445 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3416/1.29, allocations: 0.7106 MB / 0.6397 GB, free: 117 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04808/1.338, allocations: 32.23 MB / 0.6712 GB, free: 95.38 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/1.342, allocations: 1.943 MB / 0.6731 GB, free: 94.71 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002373/1.345, allocations: 1 MB / 0.674 GB, free: 94.67 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/1.345, allocations: 184.5 kB / 0.6742 GB, free: 94.48 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/1.345, allocations: 42.3 kB / 0.6742 GB, free: 94.45 MB / 475.1 MB Notification: Performance of pre-optimization done (n=100): time 5.521e-06/1.345, allocations: 0 / 0.6742 GB, free: 94.45 MB / 475.1 MB Notification: Performance of matching and sorting (n=112): time 0.02054/1.366, allocations: 6.296 MB / 0.6804 GB, free: 92.45 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/1.366, allocations: 142 kB / 0.6805 GB, free: 92.29 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006177/1.372, allocations: 2.191 MB / 0.6827 GB, free: 91.46 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003008/1.372, allocations: 28.55 kB / 0.6827 GB, free: 91.43 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00215/1.374, allocations: 2.183 MB / 0.6848 GB, free: 89.83 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008469/1.375, allocations: 448.1 kB / 0.6853 GB, free: 89.52 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005336/1.376, allocations: 1.188 kB / 0.6853 GB, free: 89.52 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0003599/1.376, allocations: 0.504 MB / 0.6857 GB, free: 89.12 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003608/1.38, allocations: 1.313 MB / 0.687 GB, free: 88.68 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005387/1.385, allocations: 4.266 MB / 0.6912 GB, free: 84.22 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005462/1.391, allocations: 2.36 MB / 0.6935 GB, free: 83.57 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001399/1.391, allocations: 31.91 kB / 0.6935 GB, free: 83.57 MB / 475.1 MB Notification: Performance of matching and sorting (n=599) (initialization): time 0.0135/1.404, allocations: 4.828 MB / 0.6982 GB, free: 81.97 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-05/1.405, allocations: 53.75 kB / 0.6983 GB, free: 81.97 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/1.405, allocations: 112.7 kB / 0.6984 GB, free: 81.97 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/1.405, allocations: 155.4 kB / 0.6986 GB, free: 81.97 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006953/1.412, allocations: 1.128 MB / 0.6997 GB, free: 81.83 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001891/1.412, allocations: 206.8 kB / 0.6999 GB, free: 81.79 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005663/1.418, allocations: 205.1 kB / 0.7 GB, free: 81.77 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.419, allocations: 293 kB / 0.7003 GB, free: 81.73 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.001162/1.42, allocations: 373.9 kB / 0.7007 GB, free: 81.41 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003882/1.424, allocations: 1.551 MB / 0.7022 GB, free: 80.87 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007867/1.425, allocations: 217.8 kB / 0.7024 GB, free: 80.75 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/1.428, allocations: 1.145 MB / 0.7035 GB, free: 80.32 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.419e-05/1.428, allocations: 17.17 kB / 0.7035 GB, free: 80.32 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.428, allocations: 0 / 0.7035 GB, free: 80.32 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/1.428, allocations: 11.69 kB / 0.7036 GB, free: 80.32 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/1.44, allocations: 3.893 MB / 0.7074 GB, free: 78.77 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.44, allocations: 7.094 kB / 0.7074 GB, free: 78.77 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/1.442, allocations: 217.8 kB / 0.7076 GB, free: 78.75 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.159e-05/1.442, allocations: 9.938 kB / 0.7076 GB, free: 78.75 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/1.442, allocations: 8.344 kB / 0.7076 GB, free: 78.75 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/1.442, allocations: 7.375 kB / 0.7076 GB, free: 78.75 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/1.442, allocations: 22.86 kB / 0.7076 GB, free: 78.75 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/1.446, allocations: 2.414 MB / 0.71 GB, free: 77.16 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.448, allocations: 441.7 kB / 0.7104 GB, free: 76.88 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006225/1.449, allocations: 3.938 kB / 0.7104 GB, free: 76.88 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/1.451, allocations: 59.92 kB / 0.7105 GB, free: 76.88 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/1.451, allocations: 72.34 kB / 0.7105 GB, free: 76.86 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.451, allocations: 38.73 kB / 0.7106 GB, free: 76.85 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.003437/1.454, allocations: 1.441 MB / 0.712 GB, free: 76.29 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.173e-06/1.455, allocations: 0 / 0.712 GB, free: 76.29 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.005535/1.46, allocations: 0.5356 MB / 0.7125 GB, free: 76.29 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.004758/1.465, allocations: 4.286 MB / 0.7167 GB, free: 72.98 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.007187/1.472, allocations: 3.005 MB / 0.7196 GB, free: 72.01 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/1.472, allocations: 4.75 kB / 0.7196 GB, free: 72.01 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/1.474, allocations: 0.7528 MB / 0.7203 GB, free: 71.76 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/1.476, allocations: 198.2 kB / 0.7205 GB, free: 71.66 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/1.495, allocations: 5.613 MB / 0.726 GB, free: 68.88 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00374/1.499, allocations: 2.268 MB / 0.7282 GB, free: 67.08 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002913/1.502, allocations: 1.116 MB / 0.7293 GB, free: 66.05 MB / 475.1 MB Notification: Performance of SimCode: time 1.863e-06/1.502, allocations: 0 / 0.7293 GB, free: 66.05 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.582/5.084, allocations: 50.37 MB / 0.7785 GB, free: 21.04 MB / 475.1 MB (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