Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 100.8 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 200.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 45.91 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003135, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 63.47 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008368/0.1438, allocations: 7.812 MB / 489.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005409/0.1493, allocations: 2.323 MB / 491.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.1503, allocations: 31.94 kB / 491.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008212/0.1512, allocations: 354.4 kB / 492 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003051/0.1542, allocations: 1.188 MB / 493.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.1544, allocations: 23.91 kB / 493.2 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.1556, allocations: 0.8381 MB / 494.1 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.1569, allocations: 0.902 MB / 495 MB, free: 7.715 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004895/0.1574, allocations: 386.6 kB / 495.4 MB, free: 7.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.1581, allocations: 0.5059 MB / 495.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.1582, allocations: 52 kB / 495.9 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.1588, allocations: 267.7 kB / 496.2 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004975/0.1593, allocations: 0.5844 MB / 496.8 MB, free: 5.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.1596, allocations: 368.5 kB / 497.1 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.1616, allocations: 1.999 MB / 499.1 MB, free: 3.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1616, allocations: 0 / 499.1 MB, free: 3.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1616, allocations: 0 / 499.1 MB, free: 3.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.832e-05/0.1616, allocations: 0 / 499.1 MB, free: 3.559 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.002468/0.1641, allocations: 1.678 MB / 0.4891 GB, free: 1.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1642, allocations: 11.97 kB / 0.4891 GB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003891/0.1646, allocations: 347.9 kB / 0.4894 GB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005519/0.1701, allocations: 1.787 MB / 0.4912 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.1725, allocations: 0.8384 MB / 0.492 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/0.1726, allocations: 77.92 kB / 0.492 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.1728, allocations: 103.9 kB / 0.4921 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006573/0.1794, allocations: 4.607 MB / 0.4966 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.1795, allocations: 19.81 kB / 0.4967 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.1797, allocations: 59.92 kB / 0.4967 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0019/0.1816, allocations: 1.099 MB / 0.4978 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006735/0.1883, allocations: 3.992 MB / 0.5017 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2922/0.4806, allocations: 18.47 MB / 0.5197 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.4819, allocations: 1.186 MB / 0.5209 GB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.482, allocations: 5.969 kB / 0.5209 GB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.482, allocations: 38.55 kB / 0.5209 GB, free: 24.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.575e-06/0.482, allocations: 2 kB / 0.5209 GB, free: 24.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001633/0.4836, allocations: 1.283 MB / 0.5222 GB, free: 23.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4837, allocations: 111.1 kB / 0.5223 GB, free: 23.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003158/0.4869, allocations: 2.198 MB / 0.5244 GB, free: 22.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.4869, allocations: 33.27 kB / 0.5245 GB, free: 22.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.488, allocations: 1.619 MB / 0.5261 GB, free: 21.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.4882, allocations: 271.3 kB / 0.5263 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.4883, allocations: 64.94 kB / 0.5264 GB, free: 21.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000258/0.4886, allocations: 0.4957 MB / 0.5269 GB, free: 20.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.4901, allocations: 0.8805 MB / 0.5277 GB, free: 20.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/0.4925, allocations: 3.144 MB / 0.5308 GB, free: 17.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/0.4953, allocations: 1.679 MB / 0.5324 GB, free: 16.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.795e-05/0.4953, allocations: 23.81 kB / 0.5324 GB, free: 16.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005785/0.5011, allocations: 3.818 MB / 0.5362 GB, free: 15.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.901e-05/0.5012, allocations: 41.02 kB / 0.5362 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.5013, allocations: 81 kB / 0.5363 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.5015, allocations: 122.1 kB / 0.5364 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.5035, allocations: 0.7474 MB / 0.5371 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001439/0.5037, allocations: 160.9 kB / 0.5373 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/0.5062, allocations: 0.4884 MB / 0.5378 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003449/0.5066, allocations: 212.7 kB / 0.538 GB, free: 14.59 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.001429/0.508, allocations: 1.096 MB / 0.539 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.5083, allocations: 167.3 kB / 0.5392 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.5086, allocations: 200.8 kB / 0.5394 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.5086, allocations: 13.09 kB / 0.5394 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.5086, allocations: 0.9688 kB / 0.5394 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.5086, allocations: 8.672 kB / 0.5394 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.5118, allocations: 2.01 MB / 0.5414 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.5119, allocations: 3.938 kB / 0.5414 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.5121, allocations: 62.91 kB / 0.5414 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.5121, allocations: 3.438 kB / 0.5414 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.5122, allocations: 13.19 kB / 0.5415 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5122, allocations: 0 / 0.5415 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.847e-05/0.5122, allocations: 7.5 kB / 0.5415 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009567/0.5132, allocations: 1.059 MB / 0.5425 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004439/0.5136, allocations: 238.3 kB / 0.5427 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.5138, allocations: 10.16 kB / 0.5427 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.5143, allocations: 29.06 kB / 0.5428 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.5144, allocations: 22.41 kB / 0.5428 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.5144, allocations: 15.61 kB / 0.5428 GB, free: 12.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001733/0.5161, allocations: 1.371 MB / 0.5441 GB, free: 11.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.5162, allocations: 0 / 0.5441 GB, free: 11.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002753/0.5189, allocations: 0.498 MB / 0.5446 GB, free: 11.21 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.001173/0.5201, allocations: 1.793 MB / 0.5464 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002907/0.523, allocations: 2.03 MB / 0.5484 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.523, allocations: 0 / 0.5484 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.5233, allocations: 335.7 kB / 0.5487 GB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.5242, allocations: 160.3 kB / 0.5488 GB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04428/0.5685, allocations: 69.65 MB / 0.6169 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.5701, allocations: 1.826 MB / 0.6186 GB, free: 13.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002416/0.5725, allocations: 1.117 MB / 0.6197 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008499/0.5734, allocations: 0.7336 MB / 0.6204 GB, free: 11.28 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5734, allocations: 0 / 0.6204 GB, free: 11.28 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05689/0.6303, allocations: 32.36 MB / 0.652 GB, free: 11.14 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.6305, allocations: 186.4 kB / 0.6522 GB, free: 10.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.315, allocations: 0 / 0.6522 GB, free: 10.9 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat does not exist to compare? outputFormat=mat