Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.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.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",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.001462/0.001462, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.536/1.536, allocations: 221.3 MB / 236 MB, free: 2.969 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.0009463/0.0009464, allocations: 95.78 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1938/0.1938, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.01e-05, allocations: 0 / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 61.91 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4222/0.5512, allocations: 93.73 MB / 0.5933 GB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.5514, allocations: 67.97 kB / 0.5934 GB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1067/0.6581, allocations: 42.33 MB / 0.6347 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6582, allocations: 0 / 0.6347 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.666e-05/0.6583, allocations: 32 kB / 0.6348 GB, free: 0.707 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.004385/0.6627, allocations: 1.891 MB / 0.6366 GB, free: 14.76 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.6627, allocations: 16.02 kB / 0.6366 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000688/0.6634, allocations: 409.7 kB / 0.637 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006753/0.6702, allocations: 1.686 MB / 0.6387 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.673, allocations: 1.118 MB / 0.6398 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.6731, allocations: 139.7 kB / 0.6399 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004841/0.6736, allocations: 183.9 kB / 0.6401 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007126/0.6808, allocations: 5.488 MB / 0.6454 GB, free: 4.941 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.968e-05/0.6809, allocations: 35.69 kB / 0.6455 GB, free: 4.906 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/0.6811, allocations: 99.92 kB / 0.6456 GB, free: 4.809 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000633/0.6818, allocations: 0.5729 MB / 0.6461 GB, free: 4.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006256/0.688, allocations: 4.465 MB / 0.6505 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02457/0.7126, allocations: 27.94 MB / 0.6778 GB, free: 2.754 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.7144, allocations: 1.244 MB / 0.679 GB, free: 1.363 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.7149, allocations: 359.6 kB / 0.6793 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002414/0.7173, allocations: 1.44 MB / 0.6807 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.7174, allocations: 42.56 kB / 0.6808 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=57): time 3.687e-06/0.7174, allocations: 0 / 0.6808 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.001692/0.7191, allocations: 0.8337 MB / 0.6816 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.7191, allocations: 132.5 kB / 0.6817 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003474/0.7226, allocations: 2.299 MB / 0.6839 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.7227, allocations: 37.62 kB / 0.684 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.7239, allocations: 1.821 MB / 0.6858 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.7242, allocations: 269.1 kB / 0.686 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.7243, allocations: 80 kB / 0.6861 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003402/0.7247, allocations: 0.5148 MB / 0.6866 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.7262, allocations: 1.05 MB / 0.6876 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003276/0.7295, allocations: 3.733 MB / 0.6913 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.7323, allocations: 2 MB / 0.6932 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.384e-05/0.7323, allocations: 32 kB / 0.6933 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007023/0.7394, allocations: 4.53 MB / 0.6977 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.7395, allocations: 44.19 kB / 0.6977 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.962e-05/0.7396, allocations: 100 kB / 0.6978 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.7397, allocations: 139.9 kB / 0.6979 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/0.7422, allocations: 0.9123 MB / 0.6988 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001374/0.7423, allocations: 191.2 kB / 0.699 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/0.7451, allocations: 0.5648 MB / 0.6996 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004077/0.7456, allocations: 287.9 kB / 0.6998 GB, free: 10.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 17 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 475 * 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.0004514/0.746, allocations: 420.4 kB / 0.7002 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.7463, allocations: 185.6 kB / 0.7004 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.7468, allocations: 217.7 kB / 0.7006 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.7468, allocations: 8 kB / 0.7006 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.7468, allocations: 0 / 0.7006 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.7468, allocations: 4 kB / 0.7006 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.7501, allocations: 1.924 MB / 0.7025 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.7502, allocations: 3.984 kB / 0.7025 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.7505, allocations: 55.91 kB / 0.7026 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/0.7505, allocations: 0 / 0.7026 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.7505, allocations: 12 kB / 0.7026 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.7506, allocations: 0 / 0.7026 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.7506, allocations: 7.953 kB / 0.7026 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.7518, allocations: 1.111 MB / 0.7037 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005762/0.7524, allocations: 286.5 kB / 0.704 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.7526, allocations: 11.98 kB / 0.704 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.7532, allocations: 23.92 kB / 0.704 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.7533, allocations: 31.91 kB / 0.704 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.7533, allocations: 16 kB / 0.704 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002535/0.7559, allocations: 1.582 MB / 0.7056 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7559, allocations: 4 kB / 0.7056 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00312/0.759, allocations: 0.5496 MB / 0.7061 GB, free: 3.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.001695/0.7607, allocations: 2.014 MB / 0.7081 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2865/1.047, allocations: 2.315 MB / 0.7103 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.047, allocations: 0 / 0.7103 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006084/1.048, allocations: 316.5 kB / 0.7106 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/1.049, allocations: 160 kB / 0.7108 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.061, allocations: 3.842 MB / 0.7146 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002653/1.063, allocations: 1.897 MB / 0.7164 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004179/1.068, allocations: 1.26 MB / 0.7176 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.069, allocations: 0.8146 MB / 0.7184 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of SimCode: time 3.267e-06/1.069, allocations: 0 / 0.7184 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07865/1.148, allocations: 37.13 MB / 0.7547 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.148, allocations: 164.2 kB / 0.7548 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.263/4.411, allocations: 0 / 0.7548 GB, free: 147.8 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat does not exist to compare? outputFormat=mat