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.002062/0.002062, allocations: 177.3 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.536/1.536, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008592/0.0008593, allocations: 94.47 kB / 292.1 MB, free: 10.94 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.3318/0.3318, allocations: 44.22 MB / 387.5 MB, free: 39.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005306/0.0005307, allocations: 8 kB / 460 MB, free: 1.695 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4222, allocations: 61.91 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.5538, allocations: 93.81 MB / 0.6012 GB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.5541, allocations: 75.94 kB / 0.6013 GB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1061/0.6602, allocations: 42.3 MB / 0.6426 GB, free: 6.586 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.6603, allocations: 0 / 0.6426 GB, free: 6.586 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.261e-05/0.6604, allocations: 32 kB / 0.6427 GB, free: 6.555 MB / 458.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.00618/0.6665, allocations: 1.953 MB / 0.6446 GB, free: 4.543 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.6666, allocations: 8.031 kB / 0.6446 GB, free: 4.535 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006759/0.6673, allocations: 409.7 kB / 0.645 GB, free: 4.125 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006301/0.6736, allocations: 1.697 MB / 0.6466 GB, free: 2.422 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.6764, allocations: 1.113 MB / 0.6477 GB, free: 1.266 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.6766, allocations: 139.7 kB / 0.6478 GB, free: 1.129 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/0.6769, allocations: 183.9 kB / 0.648 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007835/0.6848, allocations: 5.515 MB / 0.6534 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.475e-05/0.6849, allocations: 43.67 kB / 0.6534 GB, free: 10.65 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002828/0.6852, allocations: 99.92 kB / 0.6535 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006606/0.6858, allocations: 0.5651 MB / 0.6541 GB, free: 9.984 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007058/0.6929, allocations: 4.538 MB / 0.6585 GB, free: 5.438 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3313/1.024, allocations: 27.93 MB / 0.6858 GB, free: 93.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/1.026, allocations: 1.249 MB / 0.687 GB, free: 92.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001962/1.028, allocations: 1.447 MB / 0.6884 GB, free: 92.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/1.028, allocations: 46.41 kB / 0.6885 GB, free: 92.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 3.146e-06/1.028, allocations: 0 / 0.6885 GB, free: 92.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.001762/1.03, allocations: 1.344 MB / 0.6898 GB, free: 91.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.03, allocations: 134.7 kB / 0.6899 GB, free: 91.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/1.033, allocations: 2.319 MB / 0.6922 GB, free: 91.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/1.033, allocations: 30.2 kB / 0.6922 GB, free: 91.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009497/1.034, allocations: 1.831 MB / 0.694 GB, free: 90.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/1.034, allocations: 264.5 kB / 0.6943 GB, free: 90.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/1.034, allocations: 76.69 kB / 0.6943 GB, free: 90.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000244/1.034, allocations: 0.5153 MB / 0.6948 GB, free: 89.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.035, allocations: 1.074 MB / 0.6959 GB, free: 89.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/1.038, allocations: 3.76 MB / 0.6996 GB, free: 86.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/1.04, allocations: 1.991 MB / 0.7015 GB, free: 86.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.76e-05/1.04, allocations: 27.41 kB / 0.7015 GB, free: 86.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006005/1.046, allocations: 4.58 MB / 0.706 GB, free: 85.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/1.046, allocations: 46.19 kB / 0.706 GB, free: 85.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-05/1.046, allocations: 99.16 kB / 0.7061 GB, free: 85.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000112/1.046, allocations: 145.9 kB / 0.7063 GB, free: 85.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/1.049, allocations: 0.9048 MB / 0.7072 GB, free: 85.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001177/1.049, allocations: 190.7 kB / 0.7073 GB, free: 85.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/1.051, allocations: 0.5672 MB / 0.7079 GB, free: 85.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002881/1.051, allocations: 288.3 kB / 0.7082 GB, free: 85.51 MB / 490.7 MB 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 () * Number of clocked 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.001514/1.053, allocations: 1.188 MB / 0.7093 GB, free: 85.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/1.053, allocations: 188.8 kB / 0.7095 GB, free: 85.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/1.054, allocations: 214.5 kB / 0.7097 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/1.054, allocations: 18.03 kB / 0.7097 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.054, allocations: 0 / 0.7097 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/1.054, allocations: 2.938 kB / 0.7097 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/1.057, allocations: 1.917 MB / 0.7116 GB, free: 84.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.057, allocations: 2.75 kB / 0.7116 GB, free: 84.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/1.058, allocations: 59.98 kB / 0.7117 GB, free: 84.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/1.058, allocations: 5.812 kB / 0.7117 GB, free: 84.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/1.058, allocations: 9.5 kB / 0.7117 GB, free: 84.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/1.058, allocations: 6.75 kB / 0.7117 GB, free: 84.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.058, allocations: 1.375 kB / 0.7117 GB, free: 84.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/1.059, allocations: 1.115 MB / 0.7128 GB, free: 83.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005457/1.059, allocations: 289.7 kB / 0.7131 GB, free: 83.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/1.06, allocations: 14.66 kB / 0.7131 GB, free: 83.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/1.06, allocations: 22.95 kB / 0.7131 GB, free: 83.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/1.06, allocations: 29.55 kB / 0.7131 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/1.06, allocations: 18.08 kB / 0.7131 GB, free: 83.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002402/1.063, allocations: 1.596 MB / 0.7147 GB, free: 82.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.063, allocations: 0 / 0.7147 GB, free: 82.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003874/1.067, allocations: 0.5523 MB / 0.7152 GB, free: 82.45 MB / 490.7 MB 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 () * Number of clocked 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.001644/1.068, allocations: 2.036 MB / 0.7172 GB, free: 80.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004291/1.073, allocations: 2.339 MB / 0.7195 GB, free: 80.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/1.073, allocations: 1.375 kB / 0.7195 GB, free: 80.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003979/1.073, allocations: 324.2 kB / 0.7198 GB, free: 80.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/1.074, allocations: 155 kB / 0.72 GB, free: 79.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05144/1.126, allocations: 82 MB / 0.8 GB, free: 18.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00259/1.128, allocations: 1.896 MB / 0.8019 GB, free: 17.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003274/1.131, allocations: 1.265 MB / 0.8031 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.133, allocations: 0.8082 MB / 0.8039 GB, free: 16.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.593e-06/1.133, allocations: 0 / 0.8039 GB, free: 16.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05819/1.191, allocations: 37.03 MB / 0.8401 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/1.191, allocations: 180.5 kB / 0.8402 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/4.306, allocations: 0 / 0.8402 GB, free: 14.77 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