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.001007/0.001007, allocations: 96.88 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.00134/0.00134, allocations: 181.5 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.385/1.385, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2279/0.2279, allocations: 44.21 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8.688 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1325, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008152/0.1407, allocations: 7.804 MB / 479.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00539/0.1462, allocations: 2.272 MB / 481.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.1473, allocations: 31.88 kB / 481.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008117/0.1481, allocations: 350.4 kB / 482 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.1512, allocations: 1.192 MB / 483.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.1514, allocations: 19.98 kB / 483.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.1525, allocations: 0.8372 MB / 484 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.1538, allocations: 0.8825 MB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004698/0.1542, allocations: 390.6 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005736/0.1548, allocations: 0.5059 MB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.155, allocations: 52 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.1555, allocations: 267.7 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004508/0.1559, allocations: 0.5844 MB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.1562, allocations: 376.5 kB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.1579, allocations: 1.996 MB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1579, allocations: 0 / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1579, allocations: 0 / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.063e-05/0.158, allocations: 0 / 489.1 MB, free: 12.03 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.002663/0.1606, allocations: 1.674 MB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.1607, allocations: 8.031 kB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004376/0.1612, allocations: 351.9 kB / 491.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005529/0.1667, allocations: 1.784 MB / 492.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.169, allocations: 0.8346 MB / 493.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/0.1691, allocations: 81.88 kB / 493.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.1693, allocations: 107.8 kB / 493.9 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005894/0.1752, allocations: 4.603 MB / 498.5 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.1753, allocations: 19.81 kB / 498.5 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.1755, allocations: 59.91 kB / 498.6 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001708/0.1772, allocations: 1.103 MB / 499.7 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006368/0.1836, allocations: 3.984 MB / 0.4919 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2713/0.4549, allocations: 18.48 MB / 0.5099 GB, free: 32.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.4563, allocations: 1.18 MB / 0.5111 GB, free: 32.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.4563, allocations: 9.516 kB / 0.5111 GB, free: 32.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.4563, allocations: 39.03 kB / 0.5111 GB, free: 32.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.735e-06/0.4563, allocations: 0 / 0.5111 GB, free: 32.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001668/0.458, allocations: 1.282 MB / 0.5124 GB, free: 31.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.4581, allocations: 109.2 kB / 0.5125 GB, free: 31.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/0.4608, allocations: 2.204 MB / 0.5146 GB, free: 31.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.4609, allocations: 31.77 kB / 0.5146 GB, free: 31.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008496/0.4617, allocations: 1.626 MB / 0.5162 GB, free: 30.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.4619, allocations: 272 kB / 0.5165 GB, free: 30.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.21e-05/0.462, allocations: 63.14 kB / 0.5165 GB, free: 30.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.4622, allocations: 0.4943 MB / 0.517 GB, free: 29.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.4634, allocations: 0.8815 MB / 0.5179 GB, free: 29.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/0.4655, allocations: 3.143 MB / 0.521 GB, free: 26.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.4677, allocations: 1.682 MB / 0.5226 GB, free: 25.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.365e-05/0.4678, allocations: 27.53 kB / 0.5226 GB, free: 25.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005537/0.4733, allocations: 3.809 MB / 0.5263 GB, free: 24.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.67e-05/0.4734, allocations: 43.16 kB / 0.5264 GB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/0.4735, allocations: 82.19 kB / 0.5265 GB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.4737, allocations: 116.8 kB / 0.5266 GB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/0.4757, allocations: 0.7531 MB / 0.5273 GB, free: 24.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001435/0.4758, allocations: 160 kB / 0.5275 GB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.478, allocations: 0.4964 MB / 0.528 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.4782, allocations: 210.7 kB / 0.5282 GB, free: 23.99 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.001249/0.4795, allocations: 1.09 MB / 0.5292 GB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.4797, allocations: 166.8 kB / 0.5294 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.4799, allocations: 207.1 kB / 0.5296 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.4799, allocations: 7.688 kB / 0.5296 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.4799, allocations: 13.05 kB / 0.5296 GB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.48, allocations: 0 / 0.5296 GB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.4829, allocations: 2.011 MB / 0.5316 GB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.4829, allocations: 0 / 0.5316 GB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.4832, allocations: 61.91 kB / 0.5316 GB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.4832, allocations: 3.875 kB / 0.5316 GB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.4832, allocations: 11.92 kB / 0.5316 GB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.4832, allocations: 8.766 kB / 0.5316 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4832, allocations: 0 / 0.5316 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008638/0.4841, allocations: 1.065 MB / 0.5327 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.4845, allocations: 231.8 kB / 0.5329 GB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.4846, allocations: 10.22 kB / 0.5329 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.4851, allocations: 26.17 kB / 0.5329 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.4852, allocations: 23.11 kB / 0.533 GB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.4853, allocations: 18.5 kB / 0.533 GB, free: 21.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001577/0.4869, allocations: 1.371 MB / 0.5343 GB, free: 21.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4869, allocations: 3.312 kB / 0.5343 GB, free: 21.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002559/0.4894, allocations: 0.4965 MB / 0.5348 GB, free: 20.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.001379/0.4908, allocations: 1.794 MB / 0.5366 GB, free: 19.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003585/0.4944, allocations: 2.028 MB / 0.5385 GB, free: 18.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.4945, allocations: 0 / 0.5385 GB, free: 18.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.4948, allocations: 334.1 kB / 0.5389 GB, free: 17.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.496, allocations: 161.5 kB / 0.539 GB, free: 17.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03898/0.535, allocations: 69.65 MB / 0.607 GB, free: 9.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.5365, allocations: 1.823 MB / 0.6088 GB, free: 8.043 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002374/0.5389, allocations: 1.113 MB / 0.6099 GB, free: 6.926 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008191/0.5397, allocations: 0.7336 MB / 0.6106 GB, free: 6.191 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5397, allocations: 4 kB / 0.6106 GB, free: 6.188 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05476/0.5945, allocations: 32.35 MB / 0.6422 GB, free: 6.109 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.5947, allocations: 187.5 kB / 0.6424 GB, free: 5.863 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.64/3.235, allocations: 11.17 kB / 0.6424 GB, free: 5.855 MB / 478.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