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.001466/0.001466, allocations: 175.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 97.59 kB / 292.1 MB, free: 10.92 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.3601/0.3601, allocations: 44.2 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3922, allocations: 61.9 MB / 0.5096 GB, free: 38.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.5186, allocations: 98.27 MB / 0.6056 GB, free: 12.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.519, allocations: 87.94 kB / 0.6057 GB, free: 12.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5272/1.046, allocations: 76.31 MB / 0.6802 GB, free: 99.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.339e-06/1.046, allocations: 0 / 0.6802 GB, free: 99.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002908/1.047, allocations: 69.09 kB / 0.6803 GB, free: 99.86 MB / 490.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.01486/1.061, allocations: 3.739 MB / 0.6839 GB, free: 99.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/1.062, allocations: 8.906 kB / 0.6839 GB, free: 99.16 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002717/1.064, allocations: 0.7486 MB / 0.6847 GB, free: 99.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/1.078, allocations: 3.304 MB / 0.6879 GB, free: 98.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008334/1.086, allocations: 2.449 MB / 0.6903 GB, free: 98.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/1.087, allocations: 279.5 kB / 0.6906 GB, free: 98.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/1.088, allocations: 358.2 kB / 0.6909 GB, free: 98.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/1.104, allocations: 9.568 MB / 0.7002 GB, free: 97.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.558e-05/1.104, allocations: 20.47 kB / 0.7003 GB, free: 97.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005337/1.105, allocations: 166.7 kB / 0.7004 GB, free: 97.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00116/1.106, allocations: 1.097 MB / 0.7015 GB, free: 97.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/1.124, allocations: 9.251 MB / 0.7105 GB, free: 96.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05186/1.176, allocations: 32.88 MB / 0.7426 GB, free: 77.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00622/1.182, allocations: 3.53 MB / 0.7461 GB, free: 75.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/1.195, allocations: 7.509 MB / 0.7534 GB, free: 71.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/1.195, allocations: 38.84 kB / 0.7535 GB, free: 71.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 6.062e-06/1.195, allocations: 3.219 kB / 0.7535 GB, free: 71.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=135): time 0.007333/1.202, allocations: 3.711 MB / 0.7571 GB, free: 69.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/1.202, allocations: 114.3 kB / 0.7572 GB, free: 69.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/1.206, allocations: 2.482 MB / 0.7596 GB, free: 68.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/1.206, allocations: 41.64 kB / 0.7597 GB, free: 68.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/1.207, allocations: 2.757 MB / 0.7623 GB, free: 66.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/1.207, allocations: 0.5186 MB / 0.7628 GB, free: 66.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.207, allocations: 87.94 kB / 0.7629 GB, free: 66.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002321/1.208, allocations: 0.4996 MB / 0.7634 GB, free: 65.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/1.209, allocations: 1.392 MB / 0.7648 GB, free: 65.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/1.212, allocations: 4.251 MB / 0.7689 GB, free: 61.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/1.214, allocations: 2.444 MB / 0.7713 GB, free: 60.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.505e-05/1.214, allocations: 29.66 kB / 0.7713 GB, free: 60.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=607) (initialization): time 0.00677/1.221, allocations: 5.48 MB / 0.7767 GB, free: 57.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/1.221, allocations: 54.06 kB / 0.7768 GB, free: 57.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-05/1.221, allocations: 104.1 kB / 0.7768 GB, free: 57.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/1.221, allocations: 148 kB / 0.777 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/1.224, allocations: 1.047 MB / 0.778 GB, free: 56.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001207/1.224, allocations: 197.2 kB / 0.7782 GB, free: 55.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/1.227, allocations: 0.6326 MB / 0.7788 GB, free: 55.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/1.228, allocations: 306.6 kB / 0.7791 GB, free: 55.07 MB / 490.7 MB 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 () * Number of clocked 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.003193/1.231, allocations: 1.979 MB / 0.781 GB, free: 53.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/1.232, allocations: 236.9 kB / 0.7813 GB, free: 53.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005623/1.232, allocations: 298 kB / 0.7816 GB, free: 52.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.319e-05/1.232, allocations: 19.52 kB / 0.7816 GB, free: 52.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/1.232, allocations: 7.891 kB / 0.7816 GB, free: 52.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.232, allocations: 3.844 kB / 0.7816 GB, free: 52.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008727/1.241, allocations: 6.197 MB / 0.7876 GB, free: 47.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.241, allocations: 8 kB / 0.7876 GB, free: 47.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/1.242, allocations: 165.5 kB / 0.7878 GB, free: 47.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/1.242, allocations: 12 kB / 0.7878 GB, free: 47.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/1.242, allocations: 31.94 kB / 0.7878 GB, free: 47.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/1.242, allocations: 19.94 kB / 0.7879 GB, free: 47.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.617e-06/1.242, allocations: 15.81 kB / 0.7879 GB, free: 47.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/1.244, allocations: 2.634 MB / 0.7904 GB, free: 44.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006691/1.245, allocations: 343.6 kB / 0.7908 GB, free: 44.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/1.245, allocations: 30.98 kB / 0.7908 GB, free: 44.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006866/1.246, allocations: 50.34 kB / 0.7909 GB, free: 44.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.246, allocations: 77.78 kB / 0.7909 GB, free: 44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-05/1.246, allocations: 51.94 kB / 0.791 GB, free: 43.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002224/1.248, allocations: 1.696 MB / 0.7926 GB, free: 42.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.248, allocations: 4 kB / 0.7926 GB, free: 42.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004236/1.252, allocations: 1.046 MB / 0.7937 GB, free: 41.51 MB / 490.7 MB 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 () * Number of clocked 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.002883/1.255, allocations: 5.324 MB / 0.7989 GB, free: 36.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004431/1.26, allocations: 3.246 MB / 0.802 GB, free: 33.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.26, allocations: 4 kB / 0.802 GB, free: 33.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007461/1.26, allocations: 0.7899 MB / 0.8028 GB, free: 32.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/1.262, allocations: 277.6 kB / 0.8031 GB, free: 32.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3646/1.626, allocations: 102.1 MB / 0.9027 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00336/1.63, allocations: 3.185 MB / 0.9058 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003918/1.634, allocations: 1.635 MB / 0.9074 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002095/1.636, allocations: 1.601 MB / 0.909 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.734e-06/1.636, allocations: 0 / 0.909 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.736, allocations: 52.63 MB / 0.9604 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/1.737, allocations: 173.8 kB / 0.9606 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.713/5.45, allocations: 0 / 0.9606 GB, free: 110.9 MB / 0.5261 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