Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007592/0.0007592, allocations: 89.25 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1908/0.1908, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.567e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.09938, allocations: 63.25 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.4562, allocations: 99.27 MB / 0.6084 GB, free: 10.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.4564, allocations: 78.02 kB / 0.6085 GB, free: 10.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1795/0.6359, allocations: 76.22 MB / 0.6829 GB, free: 6.453 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6359, allocations: 0 / 0.6829 GB, free: 6.453 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001401/0.6361, allocations: 75.94 kB / 0.683 GB, free: 6.379 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.01016/0.6463, allocations: 3.611 MB / 0.6865 GB, free: 2.707 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.6463, allocations: 15.97 kB / 0.6865 GB, free: 2.691 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002298/0.6486, allocations: 0.75 MB / 0.6873 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.663, allocations: 3.305 MB / 0.6905 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007465/0.6705, allocations: 2.434 MB / 0.6929 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003302/0.6708, allocations: 279.2 kB / 0.6931 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002373/0.6732, allocations: 359.8 kB / 0.6935 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02415/0.6974, allocations: 9.5 MB / 0.7027 GB, free: 1.637 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/0.6977, allocations: 19.81 kB / 0.7028 GB, free: 1.617 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002098/0.6998, allocations: 171.9 kB / 0.7029 GB, free: 1.449 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001823/0.7016, allocations: 1.092 MB / 0.704 GB, free: 360 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/0.7213, allocations: 9.129 MB / 0.7129 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05372/0.7751, allocations: 32.87 MB / 0.745 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006825/0.7819, allocations: 3.511 MB / 0.7484 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.7837, allocations: 1.084 MB / 0.7495 GB, free: 428 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2881/1.072, allocations: 7.502 MB / 0.7568 GB, free: 143 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/1.072, allocations: 45.25 kB / 0.7569 GB, free: 143 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=135): time 4.028e-06/1.072, allocations: 2.188 kB / 0.7569 GB, free: 143 MB / 0.5261 GB Notification: Performance of matching and sorting (n=135): time 0.006951/1.079, allocations: 2.527 MB / 0.7593 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/1.079, allocations: 116.7 kB / 0.7594 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003739/1.083, allocations: 2.46 MB / 0.7618 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.922e-05/1.083, allocations: 39.44 kB / 0.7619 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001967/1.085, allocations: 2.763 MB / 0.7646 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004715/1.085, allocations: 0.52 MB / 0.7651 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/1.085, allocations: 87.69 kB / 0.7652 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000275/1.086, allocations: 0.5049 MB / 0.7657 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/1.088, allocations: 1.363 MB / 0.767 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00344/1.091, allocations: 4.218 MB / 0.7711 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/1.095, allocations: 2.455 MB / 0.7735 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.725e-05/1.095, allocations: 28.78 kB / 0.7735 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=607) (initialization): time 0.007352/1.102, allocations: 5.421 MB / 0.7788 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/1.102, allocations: 52.17 kB / 0.7789 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.809e-05/1.102, allocations: 103.1 kB / 0.779 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/1.102, allocations: 147.3 kB / 0.7791 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/1.105, allocations: 1.047 MB / 0.7801 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000109/1.105, allocations: 197.1 kB / 0.7803 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003327/1.108, allocations: 0.6281 MB / 0.7809 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005669/1.109, allocations: 311.2 kB / 0.7812 GB, free: 135.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 465 * 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 (559): * Single equations (assignments): 553 * 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.0006118/1.11, allocations: 456.2 kB / 0.7817 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/1.11, allocations: 233.6 kB / 0.7819 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005926/1.111, allocations: 302.4 kB / 0.7822 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/1.111, allocations: 15.59 kB / 0.7822 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/1.111, allocations: 3.938 kB / 0.7822 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/1.111, allocations: 3.562 kB / 0.7822 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009431/1.12, allocations: 6.186 MB / 0.7883 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.12, allocations: 7.688 kB / 0.7883 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/1.121, allocations: 165.3 kB / 0.7884 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/1.121, allocations: 16.44 kB / 0.7884 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/1.121, allocations: 30.02 kB / 0.7885 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/1.121, allocations: 15.47 kB / 0.7885 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.121, allocations: 15.69 kB / 0.7885 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/1.123, allocations: 2.624 MB / 0.7911 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006571/1.124, allocations: 345.7 kB / 0.7914 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.124, allocations: 29.94 kB / 0.7914 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/1.125, allocations: 53.73 kB / 0.7915 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.125, allocations: 80.17 kB / 0.7915 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-05/1.125, allocations: 53.38 kB / 0.7916 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00223/1.127, allocations: 1.676 MB / 0.7932 GB, free: 132 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.127, allocations: 0 / 0.7932 GB, free: 132 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003787/1.131, allocations: 1.051 MB / 0.7943 GB, free: 131.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.002489/1.133, allocations: 5.287 MB / 0.7994 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004253/1.138, allocations: 3.217 MB / 0.8026 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.138, allocations: 0 / 0.8026 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007099/1.138, allocations: 0.786 MB / 0.8033 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/1.14, allocations: 276.4 kB / 0.8036 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02812/1.168, allocations: 16.47 MB / 0.8197 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002452/1.17, allocations: 3.186 MB / 0.8228 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003299/1.173, allocations: 1.637 MB / 0.8244 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/1.175, allocations: 1.598 MB / 0.8259 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of SimCode: time 8.21e-07/1.175, allocations: 0 / 0.8259 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06757/1.243, allocations: 53.31 MB / 0.878 GB, free: 72.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001246/1.243, allocations: 149 kB / 0.8781 GB, free: 72.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/4.071, allocations: 0 / 0.8781 GB, free: 72.01 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat does not exist to compare? outputFormat=mat