Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.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.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",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.001078/0.001078, allocations: 174.4 kB / 8.74 MB, free: 348 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.326/1.326, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0009031/0.000903, allocations: 101 kB / 281.6 MB, free: 5.309 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.2045/0.2045, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.725e-05, allocations: 4 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1377, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4481/0.5859, allocations: 97.54 MB / 0.59 GB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.5862, allocations: 75.97 kB / 0.5901 GB, free: 14.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1872/0.7733, allocations: 74.85 MB / 0.6632 GB, free: 3.184 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7734, allocations: 0 / 0.6632 GB, free: 3.184 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001236/0.7735, allocations: 64 kB / 0.6632 GB, free: 3.121 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.0112/0.7847, allocations: 3.622 MB / 0.6668 GB, free: 15.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.7848, allocations: 11.98 kB / 0.6668 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/0.7997, allocations: 3.306 MB / 0.67 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007615/0.8074, allocations: 2.442 MB / 0.6724 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.8077, allocations: 116 kB / 0.6725 GB, free: 9.508 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001983/0.8097, allocations: 208 kB / 0.6727 GB, free: 9.305 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01262/0.8223, allocations: 6.688 MB / 0.6792 GB, free: 2.613 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0263/0.8486, allocations: 8.884 MB / 0.6879 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.8488, allocations: 15.86 kB / 0.6879 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000869/0.8497, allocations: 12 kB / 0.6879 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001421/0.8511, allocations: 1.109 MB / 0.689 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4125/1.264, allocations: 33.33 MB / 0.7216 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005094/1.269, allocations: 2.713 MB / 0.7242 GB, free: 130 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/1.271, allocations: 0.888 MB / 0.7251 GB, free: 130 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/1.273, allocations: 1.632 MB / 0.7267 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/1.273, allocations: 45.06 kB / 0.7267 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=164): time 6.241e-06/1.273, allocations: 4.328 kB / 0.7267 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=164): time 0.007894/1.281, allocations: 2.197 MB / 0.7289 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/1.281, allocations: 95.52 kB / 0.729 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00692/1.288, allocations: 2.273 MB / 0.7312 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003587/1.288, allocations: 25.7 kB / 0.7312 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003829/1.292, allocations: 2.788 MB / 0.7339 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001701/1.294, allocations: 0.6046 MB / 0.7345 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000537/1.294, allocations: 2.438 kB / 0.7345 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005731/1.295, allocations: 0.5261 MB / 0.735 GB, free: 126 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/1.298, allocations: 1.405 MB / 0.7364 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003896/1.302, allocations: 4.527 MB / 0.7408 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004632/1.306, allocations: 2.581 MB / 0.7434 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.802e-05/1.307, allocations: 31.84 kB / 0.7434 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.01043/1.317, allocations: 5.253 MB / 0.7485 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/1.317, allocations: 53.38 kB / 0.7486 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.317, allocations: 113.2 kB / 0.7487 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/1.317, allocations: 164.4 kB / 0.7488 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/1.321, allocations: 1.148 MB / 0.75 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001279/1.321, allocations: 217.9 kB / 0.7502 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/1.325, allocations: 0.5715 MB / 0.7507 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008208/1.326, allocations: 336.5 kB / 0.751 GB, free: 120.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 513 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (619): * Single equations (assignments): 613 * Array equations: 6 * 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.0007557/1.327, allocations: 377.7 kB / 0.7514 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002539/1.329, allocations: 1.817 MB / 0.7532 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/1.33, allocations: 239.8 kB / 0.7534 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/1.332, allocations: 2.066 MB / 0.7554 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.841e-05/1.332, allocations: 18.84 kB / 0.7554 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.332, allocations: 0 / 0.7554 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/1.332, allocations: 10.97 kB / 0.7555 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009322/1.342, allocations: 6.338 MB / 0.7616 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/1.342, allocations: 10.09 kB / 0.7617 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/1.342, allocations: 208.7 kB / 0.7619 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/1.342, allocations: 14.09 kB / 0.7619 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.35e-05/1.342, allocations: 28.67 kB / 0.7619 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/1.343, allocations: 21.08 kB / 0.7619 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/1.343, allocations: 17.91 kB / 0.7619 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/1.345, allocations: 3.162 MB / 0.765 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005473/1.346, allocations: 337.4 kB / 0.7653 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/1.346, allocations: 14.45 kB / 0.7654 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006993/1.347, allocations: 36.72 kB / 0.7654 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/1.347, allocations: 109.4 kB / 0.7655 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.926e-05/1.347, allocations: 60.14 kB / 0.7656 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002229/1.349, allocations: 1.504 MB / 0.767 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.349, allocations: 0 / 0.767 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004683/1.354, allocations: 0.9499 MB / 0.7679 GB, free: 114.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 110 * Array equations: 6 * 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.003321/1.357, allocations: 6.486 MB / 0.7743 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004533/1.362, allocations: 3.35 MB / 0.7776 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.362, allocations: 4.25 kB / 0.7776 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009082/1.363, allocations: 0.9338 MB / 0.7785 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/1.364, allocations: 209.3 kB / 0.7787 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03002/1.394, allocations: 16.79 MB / 0.7951 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/1.397, allocations: 3.182 MB / 0.7982 GB, free: 98.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00408/1.401, allocations: 1.868 MB / 0.8 GB, free: 97.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002119/1.403, allocations: 1.646 MB / 0.8016 GB, free: 95.72 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/1.403, allocations: 0 / 0.8016 GB, free: 95.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07888/1.482, allocations: 51.89 MB / 0.8523 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/1.482, allocations: 136.9 kB / 0.8524 GB, free: 49.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.708/5.19, allocations: 0 / 0.8524 GB, free: 49.76 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat does not exist to compare? outputFormat=mat