Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",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.001056/0.001056, allocations: 99.27 kB / 17 MB, free: 6.086 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.001316/0.001317, allocations: 183 kB / 17.89 MB, free: 5.668 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.43/1.43, allocations: 223.3 MB / 241.9 MB, free: 340 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.2086/0.2086, allocations: 44.23 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004691, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1369, allocations: 61.93 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.0105/0.1475, allocations: 8.184 MB / 479.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005837/0.1534, allocations: 2.213 MB / 482 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.1547, allocations: 27.94 kB / 482.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.1558, allocations: 374.3 kB / 482.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.1587, allocations: 1.109 MB / 483.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.1589, allocations: 23.97 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.1607, allocations: 1.583 MB / 485.2 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.1619, allocations: 0.8786 MB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004977/0.1624, allocations: 458.1 kB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000776/0.1632, allocations: 0.7086 MB / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1633, allocations: 59.94 kB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/0.1639, allocations: 271.5 kB / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000519/0.1644, allocations: 0.631 MB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.1647, allocations: 364.5 kB / 488.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.1664, allocations: 1.999 MB / 490.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1664, allocations: 0 / 490.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1664, allocations: 4 kB / 490.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.1664, allocations: 0 / 490.5 MB, free: 10.67 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.002007/0.1684, allocations: 1.666 MB / 492.2 MB, free: 8.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1685, allocations: 8.031 kB / 492.2 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003387/0.1688, allocations: 355.9 kB / 492.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004418/0.1733, allocations: 1.506 MB / 494 MB, free: 7.074 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.1749, allocations: 0.8424 MB / 494.9 MB, free: 6.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.1749, allocations: 81.86 kB / 495 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.1751, allocations: 99.92 kB / 495.1 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005427/0.1806, allocations: 4.614 MB / 499.7 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.1806, allocations: 19.81 kB / 499.7 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.1808, allocations: 55.91 kB / 499.7 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001567/0.1824, allocations: 1.111 MB / 0.4891 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005995/0.1884, allocations: 3.984 MB / 0.493 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2581/0.4465, allocations: 18.47 MB / 0.511 GB, free: 34.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.448, allocations: 1.172 MB / 0.5122 GB, free: 33.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.4486, allocations: 344.2 kB / 0.5125 GB, free: 33.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.4486, allocations: 4.844 kB / 0.5125 GB, free: 33.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.4487, allocations: 46.33 kB / 0.5126 GB, free: 33.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.207e-06/0.4487, allocations: 0 / 0.5126 GB, free: 33.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001897/0.4506, allocations: 1.021 MB / 0.5136 GB, free: 33.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.4506, allocations: 109.2 kB / 0.5137 GB, free: 33.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.4539, allocations: 2.195 MB / 0.5158 GB, free: 32.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.4539, allocations: 34.23 kB / 0.5158 GB, free: 32.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009557/0.4549, allocations: 1.63 MB / 0.5174 GB, free: 31.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.4551, allocations: 262.7 kB / 0.5177 GB, free: 31.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4552, allocations: 65.88 kB / 0.5177 GB, free: 31.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003223/0.4555, allocations: 0.4943 MB / 0.5182 GB, free: 31.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.457, allocations: 0.8863 MB / 0.5191 GB, free: 30.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002685/0.4597, allocations: 3.154 MB / 0.5222 GB, free: 27.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/0.4625, allocations: 1.688 MB / 0.5238 GB, free: 26.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.912e-05/0.4626, allocations: 23.59 kB / 0.5238 GB, free: 26.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006943/0.4695, allocations: 3.812 MB / 0.5276 GB, free: 25.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.176e-05/0.4696, allocations: 39.91 kB / 0.5276 GB, free: 25.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.4698, allocations: 81.19 kB / 0.5277 GB, free: 25.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.4699, allocations: 117.4 kB / 0.5278 GB, free: 25.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.4719, allocations: 0.7639 MB / 0.5285 GB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.597e-05/0.4721, allocations: 151.6 kB / 0.5287 GB, free: 25.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/0.4742, allocations: 496.6 kB / 0.5292 GB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.4745, allocations: 219.3 kB / 0.5294 GB, free: 24.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * 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.001367/0.4759, allocations: 1.101 MB / 0.5304 GB, free: 24.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.4761, allocations: 162.7 kB / 0.5306 GB, free: 24.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.4763, allocations: 200.1 kB / 0.5308 GB, free: 24.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.4764, allocations: 14.52 kB / 0.5308 GB, free: 24.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.4764, allocations: 0 / 0.5308 GB, free: 24.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/0.4764, allocations: 0 / 0.5308 GB, free: 24.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.4793, allocations: 2.016 MB / 0.5328 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4793, allocations: 0 / 0.5328 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.4796, allocations: 56.33 kB / 0.5328 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-06/0.4796, allocations: 2.781 kB / 0.5328 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.4796, allocations: 14.47 kB / 0.5328 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.4796, allocations: 11.73 kB / 0.5329 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4796, allocations: 0 / 0.5329 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/0.4805, allocations: 1.033 MB / 0.5339 GB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.4807, allocations: 233.9 kB / 0.5341 GB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.4808, allocations: 4 kB / 0.5341 GB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.4813, allocations: 32.41 kB / 0.5341 GB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.4813, allocations: 33.97 kB / 0.5342 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.4814, allocations: 20.03 kB / 0.5342 GB, free: 22.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00153/0.4829, allocations: 1.372 MB / 0.5355 GB, free: 22.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4829, allocations: 0 / 0.5355 GB, free: 22.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002272/0.4852, allocations: 0.4997 MB / 0.536 GB, free: 21.93 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.001261/0.4865, allocations: 1.628 MB / 0.5376 GB, free: 20.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00263/0.4891, allocations: 2.025 MB / 0.5396 GB, free: 18.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4891, allocations: 4.125 kB / 0.5396 GB, free: 18.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.4894, allocations: 333.8 kB / 0.5399 GB, free: 18.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008761/0.4903, allocations: 157.7 kB / 0.54 GB, free: 18.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/0.5068, allocations: 13.91 MB / 0.5536 GB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.508, allocations: 1.787 MB / 0.5554 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002126/0.5102, allocations: 1.113 MB / 0.5565 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008766/0.5111, allocations: 0.7374 MB / 0.5572 GB, free: 15.03 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5111, allocations: 0 / 0.5572 GB, free: 15.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05716/0.5682, allocations: 32.37 MB / 0.5888 GB, free: 14.93 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.5685, allocations: 200.1 kB / 0.589 GB, free: 14.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.036/3.605, allocations: 0 / 0.589 GB, free: 14.68 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat does not exist to compare? outputFormat=mat