Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008526/0.0008528, allocations: 109.7 kB / 281.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2572/0.2572, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.799e-05, allocations: 8.156 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.5295, allocations: 95.1 MB / 0.5876 GB, free: 1.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.5299, allocations: 79.95 kB / 0.5877 GB, free: 1.172 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03339/0.5633, allocations: 13.11 MB / 0.6005 GB, free: 4.012 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5633, allocations: 0 / 0.6005 GB, free: 4.012 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.701e-05/0.5634, allocations: 15.98 kB / 0.6005 GB, free: 3.996 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001131/0.5645, allocations: 0.841 MB / 0.6013 GB, free: 3.105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5646, allocations: 11.98 kB / 0.6013 GB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009398/0.5655, allocations: 186.7 kB / 0.6015 GB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000743/0.5663, allocations: 0.4912 MB / 0.602 GB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.5663, allocations: 20 kB / 0.602 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.5664, allocations: 43.94 kB / 0.6021 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008804/0.5673, allocations: 0.6514 MB / 0.6027 GB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.5686, allocations: 1.153 MB / 0.6038 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.5687, allocations: 7.938 kB / 0.6038 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.5687, allocations: 8 kB / 0.6038 GB, free: 344 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.5688, allocations: 104.7 kB / 0.6039 GB, free: 240 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.5729, allocations: 5.778 MB / 0.6096 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.802e-05/0.573, allocations: 46.55 kB / 0.6096 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.5731, allocations: 32.92 kB / 0.6097 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.5731, allocations: 4 kB / 0.6097 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.5732, allocations: 34.56 kB / 0.6097 GB, free: 10.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.5732, allocations: 0 / 0.6097 GB, free: 10.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002783/0.5734, allocations: 136.9 kB / 0.6098 GB, free: 9.945 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.5735, allocations: 51.41 kB / 0.6099 GB, free: 9.883 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/0.5742, allocations: 0.6241 MB / 0.6105 GB, free: 9.254 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5742, allocations: 33.64 kB / 0.6105 GB, free: 9.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.5746, allocations: 0.5395 MB / 0.611 GB, free: 8.664 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.5746, allocations: 27.78 kB / 0.6111 GB, free: 8.637 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.5746, allocations: 0 / 0.6111 GB, free: 8.637 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5748, allocations: 370.7 kB / 0.6114 GB, free: 8.266 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.575, allocations: 145.5 kB / 0.6116 GB, free: 8.125 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.5755, allocations: 0.6916 MB / 0.6122 GB, free: 7.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.5758, allocations: 299.6 kB / 0.6125 GB, free: 6.859 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.5759, allocations: 8 kB / 0.6125 GB, free: 6.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009377/0.5768, allocations: 0.7084 MB / 0.6132 GB, free: 6.137 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.5768, allocations: 19.94 kB / 0.6132 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.5769, allocations: 20 kB / 0.6133 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/0.5769, allocations: 28 kB / 0.6133 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.5774, allocations: 180.4 kB / 0.6135 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/0.5775, allocations: 39.84 kB / 0.6135 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.5779, allocations: 94.97 kB / 0.6136 GB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.578, allocations: 52 kB / 0.6136 GB, free: 5.711 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * 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.0001289/0.5781, allocations: 171.3 kB / 0.6138 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001677/0.5783, allocations: 137 kB / 0.6139 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.5784, allocations: 67.33 kB / 0.614 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.917e-05/0.5785, allocations: 53.02 kB / 0.614 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5785, allocations: 3.938 kB / 0.6141 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5785, allocations: 0 / 0.6141 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.5785, allocations: 4 kB / 0.6141 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.5789, allocations: 413.9 kB / 0.6145 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5789, allocations: 0 / 0.6145 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.595e-05/0.579, allocations: 15.98 kB / 0.6145 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.579, allocations: 0 / 0.6145 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.5791, allocations: 4 kB / 0.6145 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5791, allocations: 8 kB / 0.6145 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5791, allocations: 0 / 0.6145 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.5793, allocations: 234.7 kB / 0.6147 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.777e-05/0.5794, allocations: 128.4 kB / 0.6148 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.5794, allocations: 0 / 0.6148 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.5796, allocations: 11.98 kB / 0.6148 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.5797, allocations: 11.98 kB / 0.6148 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.5797, allocations: 4 kB / 0.6149 GB, free: 4.375 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004378/0.5801, allocations: 439.1 kB / 0.6153 GB, free: 3.953 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5802, allocations: 0 / 0.6153 GB, free: 3.953 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006355/0.5808, allocations: 151.3 kB / 0.6154 GB, free: 3.805 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0005113/0.5813, allocations: 0.7742 MB / 0.6162 GB, free: 3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.5818, allocations: 344.4 kB / 0.6165 GB, free: 2.668 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5818, allocations: 3.938 kB / 0.6165 GB, free: 2.664 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.5818, allocations: 31.97 kB / 0.6165 GB, free: 2.633 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.5823, allocations: 85.28 kB / 0.6166 GB, free: 2.551 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.5841, allocations: 0.997 MB / 0.6176 GB, free: 1.508 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.5847, allocations: 1.05 MB / 0.6186 GB, free: 444 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004895/0.5852, allocations: 196.5 kB / 0.6188 GB, free: 248 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.5855, allocations: 247.3 kB / 0.619 GB, free: 0 / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5855, allocations: 0 / 0.619 GB, free: 0 / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.6155, allocations: 9.392 MB / 0.6282 GB, free: 6.652 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.6158, allocations: 130.5 kB / 0.6283 GB, free: 6.461 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/2.831, allocations: 0 / 0.6283 GB, free: 6.461 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat does not exist to compare? outputFormat=mat