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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 94.86 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 181.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.2 MB / 241.8 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 44.21 MB / 337.1 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006138/0.0006141, allocations: 14.03 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1512, allocations: 61.92 MB / 471.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008119/0.1593, allocations: 7.546 MB / 479.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005335/0.1647, allocations: 2.229 MB / 481.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.1662, allocations: 31.94 kB / 481.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.1674, allocations: 342.4 kB / 481.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004612/0.1721, allocations: 1.161 MB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.1723, allocations: 27.97 kB / 482.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03376/0.206, allocations: 23.77 MB / 0.4948 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.2077, allocations: 0.9021 MB / 0.4956 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005677/0.2083, allocations: 402.5 kB / 0.496 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006122/0.209, allocations: 0.5372 MB / 0.4966 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.2091, allocations: 56 kB / 0.4966 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005262/0.2096, allocations: 279.5 kB / 0.4969 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000503/0.2101, allocations: 0.6272 MB / 0.4975 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.2104, allocations: 384.5 kB / 0.4979 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.2124, allocations: 2.109 MB / 0.4999 GB, free: 5.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2124, allocations: 0 / 0.4999 GB, free: 5.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2124, allocations: 0 / 0.4999 GB, free: 5.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.329e-05/0.2124, allocations: 0 / 0.4999 GB, free: 5.117 MB / 382.1 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.002598/0.215, allocations: 1.734 MB / 0.5016 GB, free: 3.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.2151, allocations: 12.03 kB / 0.5016 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004111/0.2155, allocations: 373.7 kB / 0.502 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005746/0.2213, allocations: 1.83 MB / 0.5038 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.2235, allocations: 0.836 MB / 0.5046 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.2236, allocations: 90.03 kB / 0.5047 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.2238, allocations: 107.9 kB / 0.5048 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3217/0.5456, allocations: 4.953 MB / 0.5096 GB, free: 48.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/0.5457, allocations: 24.98 kB / 0.5096 GB, free: 48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.5459, allocations: 63.48 kB / 0.5097 GB, free: 47.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002253/0.5482, allocations: 1.181 MB / 0.5108 GB, free: 47.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008389/0.5566, allocations: 4.23 MB / 0.515 GB, free: 46.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02444/0.581, allocations: 20.61 MB / 0.5351 GB, free: 29.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.5823, allocations: 1.179 MB / 0.5362 GB, free: 28.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.5823, allocations: 3.5 kB / 0.5363 GB, free: 28.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.5824, allocations: 39.42 kB / 0.5363 GB, free: 28.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.196e-06/0.5824, allocations: 3.5 kB / 0.5363 GB, free: 28.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001537/0.5839, allocations: 1.301 MB / 0.5376 GB, free: 28.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.584, allocations: 110.7 kB / 0.5377 GB, free: 27.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.5865, allocations: 2.46 MB / 0.5401 GB, free: 25.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.5865, allocations: 33.7 kB / 0.5401 GB, free: 25.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009892/0.5875, allocations: 1.828 MB / 0.5419 GB, free: 23.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.5877, allocations: 271.8 kB / 0.5421 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.5878, allocations: 76 kB / 0.5422 GB, free: 23.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.588, allocations: 0.5188 MB / 0.5427 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.5892, allocations: 1.011 MB / 0.5437 GB, free: 21.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.5916, allocations: 3.698 MB / 0.5473 GB, free: 16.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.5936, allocations: 1.942 MB / 0.5492 GB, free: 14.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-05/0.5936, allocations: 28 kB / 0.5492 GB, free: 14.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.00599/0.5996, allocations: 4.431 MB / 0.5536 GB, free: 10.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/0.5997, allocations: 52.06 kB / 0.5536 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.055e-05/0.5998, allocations: 96.28 kB / 0.5537 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.734e-05/0.5999, allocations: 140 kB / 0.5539 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/0.6019, allocations: 0.885 MB / 0.5547 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001118/0.6021, allocations: 191.2 kB / 0.5549 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/0.6052, allocations: 0.5604 MB / 0.5554 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/0.6055, allocations: 254.4 kB / 0.5557 GB, free: 8.16 MB / 382.1 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 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,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.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 (484): * Single equations (assignments): 481 * 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.001705/0.6072, allocations: 1.196 MB / 0.5569 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.6075, allocations: 189.4 kB / 0.557 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.6078, allocations: 222.1 kB / 0.5572 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.6078, allocations: 14.95 kB / 0.5573 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.6078, allocations: 0 / 0.5573 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.6078, allocations: 3.984 kB / 0.5573 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/0.6111, allocations: 2.032 MB / 0.5593 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.6112, allocations: 4 kB / 0.5593 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.6114, allocations: 63.83 kB / 0.5593 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.6115, allocations: 4 kB / 0.5593 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.6115, allocations: 8 kB / 0.5593 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.6115, allocations: 0 / 0.5593 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.6115, allocations: 4.5 kB / 0.5593 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009283/0.6125, allocations: 1.085 MB / 0.5604 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.6129, allocations: 254.4 kB / 0.5606 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.613, allocations: 9.094 kB / 0.5606 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.6135, allocations: 20.84 kB / 0.5607 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.6136, allocations: 27.92 kB / 0.5607 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.6136, allocations: 14.03 kB / 0.5607 GB, free: 2.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001677/0.6153, allocations: 1.51 MB / 0.5622 GB, free: 1.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6153, allocations: 4 kB / 0.5622 GB, free: 1.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002762/0.6181, allocations: 0.5329 MB / 0.5627 GB, free: 0.8398 MB / 382.1 MB 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 () * Number of clocked 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.001794/0.6199, allocations: 1.811 MB / 0.5645 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004297/0.6242, allocations: 2.307 MB / 0.5667 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6242, allocations: 0 / 0.5667 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.6247, allocations: 333.1 kB / 0.567 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000998/0.6257, allocations: 158.9 kB / 0.5672 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06095/0.6866, allocations: 81.85 MB / 0.6471 GB, free: 7.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/0.6886, allocations: 1.905 MB / 0.649 GB, free: 5.652 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002955/0.6915, allocations: 1.267 MB / 0.6502 GB, free: 4.379 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009869/0.6925, allocations: 0.7883 MB / 0.651 GB, free: 3.59 MB / 478.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6926, allocations: 0 / 0.651 GB, free: 3.59 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06288/0.7554, allocations: 34.99 MB / 0.6852 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.7557, allocations: 184.1 kB / 0.6853 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/3.924, allocations: 3.938 kB / 0.6853 GB, free: 0.6133 MB / 0.4981 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