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.001583/0.001583, allocations: 169.7 kB / 8.739 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.403/1.403, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.001024/0.001024, allocations: 104.8 kB / 281.6 MB, free: 5.32 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.2177/0.2177, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.805e-05, allocations: 224 / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1673, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.6374, allocations: 93.07 MB / 0.5856 GB, free: 3.281 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.6376, allocations: 71.97 kB / 0.5857 GB, free: 3.211 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1058/0.7434, allocations: 41.63 MB / 0.6264 GB, free: 9.199 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.7435, allocations: 4 kB / 0.6264 GB, free: 9.195 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.886e-05/0.7435, allocations: 39.94 kB / 0.6264 GB, free: 9.156 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.004637/0.7482, allocations: 1.891 MB / 0.6283 GB, free: 7.211 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.7483, allocations: 11.98 kB / 0.6283 GB, free: 7.195 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007156/0.7554, allocations: 1.686 MB / 0.6299 GB, free: 5.504 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.7583, allocations: 1.114 MB / 0.631 GB, free: 4.344 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.351e-05/0.7584, allocations: 60 kB / 0.6311 GB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004822/0.7589, allocations: 104 kB / 0.6312 GB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004791/0.7637, allocations: 3.036 MB / 0.6341 GB, free: 1.145 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008315/0.772, allocations: 5.201 MB / 0.6392 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.821e-05/0.7721, allocations: 31.69 kB / 0.6392 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/0.7724, allocations: 24 kB / 0.6393 GB, free: 11.15 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007217/0.7731, allocations: 0.5767 MB / 0.6398 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02584/0.799, allocations: 26.74 MB / 0.6659 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.8005, allocations: 1.147 MB / 0.6671 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/0.8009, allocations: 334.4 kB / 0.6674 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.8009, allocations: 4 kB / 0.6674 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.801, allocations: 42.5 kB / 0.6674 GB, free: 13.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=60): time 3.226e-06/0.801, allocations: 0 / 0.6674 GB, free: 13.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.001576/0.8026, allocations: 0.7837 MB / 0.6682 GB, free: 12.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.8027, allocations: 106.8 kB / 0.6683 GB, free: 12.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/0.8057, allocations: 2.068 MB / 0.6703 GB, free: 10.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.8058, allocations: 25.7 kB / 0.6703 GB, free: 10.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.8073, allocations: 1.879 MB / 0.6722 GB, free: 8.266 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.8076, allocations: 277 kB / 0.6724 GB, free: 7.992 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.8078, allocations: 0 / 0.6724 GB, free: 7.992 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003309/0.8081, allocations: 0.4998 MB / 0.6729 GB, free: 7.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.8096, allocations: 1.039 MB / 0.6739 GB, free: 6.438 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003624/0.8132, allocations: 3.846 MB / 0.6777 GB, free: 1.148 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/0.8167, allocations: 2.028 MB / 0.6797 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-05/0.8168, allocations: 28 kB / 0.6797 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=532) (initialization): time 0.008009/0.8248, allocations: 4.172 MB / 0.6838 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.757e-05/0.8249, allocations: 55.95 kB / 0.6838 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/0.8251, allocations: 100 kB / 0.6839 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.8252, allocations: 148.8 kB / 0.6841 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/0.8279, allocations: 0.963 MB / 0.685 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001386/0.8281, allocations: 203.5 kB / 0.6852 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/0.8309, allocations: 0.4941 MB / 0.6857 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003584/0.8313, allocations: 296 kB / 0.686 GB, free: 8.664 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (508): * Single equations (assignments): 505 * 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.0004274/0.8317, allocations: 358.4 kB / 0.6863 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001132/0.8329, allocations: 0.7356 MB / 0.687 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.8331, allocations: 173.7 kB / 0.6872 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.8334, allocations: 204.4 kB / 0.6874 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.8335, allocations: 12 kB / 0.6874 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8335, allocations: 0 / 0.6874 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.8335, allocations: 7.984 kB / 0.6874 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.8368, allocations: 1.74 MB / 0.6891 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.8369, allocations: 0 / 0.6891 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.8372, allocations: 59.89 kB / 0.6892 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.8372, allocations: 4 kB / 0.6892 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.8372, allocations: 8 kB / 0.6892 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.8372, allocations: 0 / 0.6892 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.8373, allocations: 4 kB / 0.6892 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.8384, allocations: 1.042 MB / 0.6902 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/0.8389, allocations: 274.7 kB / 0.6904 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.839, allocations: 0 / 0.6904 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.8395, allocations: 19.97 kB / 0.6905 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.8396, allocations: 27.92 kB / 0.6905 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.8396, allocations: 16 kB / 0.6905 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001878/0.8415, allocations: 1.35 MB / 0.6918 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8415, allocations: 4 kB / 0.6918 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002952/0.8445, allocations: 0.4985 MB / 0.6923 GB, free: 2.004 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * 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.00169/0.8462, allocations: 1.785 MB / 0.6941 GB, free: 184 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003654/0.8498, allocations: 2.23 MB / 0.6962 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8498, allocations: 0.5625 kB / 0.6962 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.8503, allocations: 327.8 kB / 0.6966 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008286/0.8511, allocations: 139.7 kB / 0.6967 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008951/0.8601, allocations: 3.767 MB / 0.7004 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/0.8618, allocations: 1.904 MB / 0.7022 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003216/0.8651, allocations: 1.341 MB / 0.7035 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/0.8662, allocations: 0.8078 MB / 0.7043 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/0.8662, allocations: 0 / 0.7043 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3662/1.232, allocations: 35.02 MB / 0.7385 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/1.233, allocations: 143.4 kB / 0.7387 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/4.218, allocations: 0 / 0.7387 GB, free: 153.6 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