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.0007646/0.0007647, allocations: 97.92 kB / 17 MB, free: 6.418 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.0007802/0.0007803, allocations: 189.9 kB / 17.89 MB, free: 5.945 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.293/1.293, allocations: 223.2 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2078/0.2078, allocations: 44.22 MB / 337.2 MB, free: 2.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002966, allocations: 8 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1236, allocations: 61.92 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.009182/0.1328, allocations: 7.911 MB / 479.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005149/0.138, allocations: 2.174 MB / 481.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000828/0.1389, allocations: 35.94 kB / 481.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008318/0.1397, allocations: 374.3 kB / 482.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.1424, allocations: 1.292 MB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.1426, allocations: 27.97 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03934/0.182, allocations: 30.04 MB / 0.5014 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.1838, allocations: 0.914 MB / 0.5023 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008233/0.1847, allocations: 474.1 kB / 0.5028 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009499/0.1856, allocations: 0.7553 MB / 0.5035 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.1859, allocations: 56 kB / 0.5036 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000582/0.1865, allocations: 271.5 kB / 0.5038 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006295/0.1871, allocations: 0.6777 MB / 0.5045 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.1874, allocations: 388.5 kB / 0.5049 GB, free: 188 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.256/0.4435, allocations: 2.106 MB / 0.5069 GB, free: 40.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.455e-05/0.4436, allocations: 0 / 0.5069 GB, free: 40.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.151e-06/0.4436, allocations: 0 / 0.5069 GB, free: 40.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002486/0.4439, allocations: 0.5938 kB / 0.5069 GB, free: 40.48 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.004772/0.4486, allocations: 1.726 MB / 0.5086 GB, free: 39.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.4487, allocations: 9.875 kB / 0.5086 GB, free: 39.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007452/0.4495, allocations: 374.4 kB / 0.509 GB, free: 39.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005745/0.4552, allocations: 1.546 MB / 0.5105 GB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.4576, allocations: 0.8407 MB / 0.5113 GB, free: 38.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.4578, allocations: 85.06 kB / 0.5114 GB, free: 38.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/0.4581, allocations: 112.5 kB / 0.5115 GB, free: 38.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008232/0.4663, allocations: 4.964 MB / 0.5163 GB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/0.4664, allocations: 23.66 kB / 0.5164 GB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/0.4666, allocations: 61.34 kB / 0.5164 GB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002117/0.4688, allocations: 1.187 MB / 0.5176 GB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008774/0.4775, allocations: 4.224 MB / 0.5217 GB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/0.4972, allocations: 20.62 MB / 0.5418 GB, free: 20.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.4984, allocations: 1.171 MB / 0.543 GB, free: 19.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.4988, allocations: 342.3 kB / 0.5433 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.4989, allocations: 4 kB / 0.5433 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.4989, allocations: 49.61 kB / 0.5434 GB, free: 19.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.035e-06/0.4989, allocations: 0 / 0.5434 GB, free: 19.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.00139/0.5003, allocations: 1.035 MB / 0.5444 GB, free: 18.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.5004, allocations: 113.9 kB / 0.5445 GB, free: 18.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.5029, allocations: 2.463 MB / 0.5469 GB, free: 15.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.503, allocations: 34.64 kB / 0.5469 GB, free: 15.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008/0.5038, allocations: 1.823 MB / 0.5487 GB, free: 13.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.504, allocations: 278.7 kB / 0.549 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.5041, allocations: 80 kB / 0.549 GB, free: 13.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.5043, allocations: 0.511 MB / 0.5495 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.5055, allocations: 1.011 MB / 0.5505 GB, free: 12.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.5076, allocations: 3.711 MB / 0.5542 GB, free: 7.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.5097, allocations: 1.945 MB / 0.5561 GB, free: 5.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.319e-05/0.5097, allocations: 28 kB / 0.5561 GB, free: 5.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005688/0.5154, allocations: 4.424 MB / 0.5604 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.5155, allocations: 48 kB / 0.5605 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.245e-05/0.5155, allocations: 99.95 kB / 0.5605 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/0.5157, allocations: 140 kB / 0.5607 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.5177, allocations: 0.885 MB / 0.5615 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001511/0.5179, allocations: 187.9 kB / 0.5617 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.5205, allocations: 0.5613 MB / 0.5623 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/0.5208, allocations: 260 kB / 0.5625 GB, free: 14.78 MB / 398.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.002069/0.5229, allocations: 1.19 MB / 0.5637 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.5232, allocations: 185.6 kB / 0.5639 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.5236, allocations: 224.2 kB / 0.5641 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.5236, allocations: 11.95 kB / 0.5641 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.5236, allocations: 4 kB / 0.5641 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.5236, allocations: 4 kB / 0.5641 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/0.5271, allocations: 2.037 MB / 0.5661 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.026e-06/0.5272, allocations: 4 kB / 0.5661 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.5274, allocations: 59.91 kB / 0.5661 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.5275, allocations: 4 kB / 0.5661 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.5275, allocations: 12.44 kB / 0.5662 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.351e-06/0.5275, allocations: 3.984 kB / 0.5662 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.5275, allocations: 0 / 0.5662 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.5286, allocations: 1.053 MB / 0.5672 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.5291, allocations: 254.5 kB / 0.5674 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.5292, allocations: 4 kB / 0.5674 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.5297, allocations: 17.16 kB / 0.5675 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.5297, allocations: 23.97 kB / 0.5675 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.5298, allocations: 25.41 kB / 0.5675 GB, free: 9.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002414/0.5322, allocations: 1.508 MB / 0.569 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5322, allocations: 0 / 0.569 GB, free: 8.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003188/0.5354, allocations: 0.5358 MB / 0.5695 GB, free: 7.516 MB / 398.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.001612/0.5371, allocations: 1.653 MB / 0.5711 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004113/0.5412, allocations: 2.307 MB / 0.5734 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5412, allocations: 0 / 0.5734 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.5416, allocations: 329.4 kB / 0.5737 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.5428, allocations: 167 kB / 0.5738 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03181/0.5746, allocations: 15.38 MB / 0.5889 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002448/0.5771, allocations: 1.862 MB / 0.5907 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003232/0.5804, allocations: 1.268 MB / 0.5919 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/0.5817, allocations: 0.7883 MB / 0.5927 GB, free: 13.57 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5817, allocations: 2.078 kB / 0.5927 GB, free: 13.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08567/0.6674, allocations: 35 MB / 0.6269 GB, free: 10.82 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.6677, allocations: 188.4 kB / 0.627 GB, free: 10.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.287/3.955, allocations: 4 kB / 0.6271 GB, free: 10.58 MB / 462.1 MB (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