Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 96.44 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.001436/0.001436, allocations: 204.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, 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.2142/0.2142, allocations: 45.92 MB / 344 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 4 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 63.47 MB / 481.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.03062/0.1739, allocations: 34.46 MB / 0.5039 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3125/0.4864, allocations: 7.392 MB / 0.5111 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009861/0.4963, allocations: 160.7 kB / 0.5113 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007771/0.5041, allocations: 1.711 MB / 0.5129 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02301/0.5272, allocations: 4.832 MB / 0.5177 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.5295, allocations: 106.5 kB / 0.5178 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.5313, allocations: 0.5994 MB / 0.5183 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.5342, allocations: 1.73 MB / 0.52 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00059/0.5348, allocations: 303.4 kB / 0.5203 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.5354, allocations: 345.8 kB / 0.5206 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.5355, allocations: 49.97 kB / 0.5207 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.5357, allocations: 41.23 kB / 0.5207 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007466/0.5365, allocations: 0.5815 MB / 0.5213 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.5368, allocations: 340.9 kB / 0.5216 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.5389, allocations: 1.771 MB / 0.5234 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5389, allocations: 1.188 kB / 0.5234 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5389, allocations: 0 / 0.5234 GB, free: 8.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.395e-05/0.539, allocations: 0 / 0.5234 GB, free: 8.832 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002317/0.5413, allocations: 1.634 MB / 0.525 GB, free: 7.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.5414, allocations: 9.125 kB / 0.525 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003594/0.5417, allocations: 332.8 kB / 0.5253 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005334/0.5423, allocations: 219.5 kB / 0.5255 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.5434, allocations: 0.7085 MB / 0.5262 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.5435, allocations: 116.1 kB / 0.5263 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.5438, allocations: 152.9 kB / 0.5264 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.5482, allocations: 3.348 MB / 0.5297 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.608e-05/0.5483, allocations: 18.11 kB / 0.5297 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.5484, allocations: 74.48 kB / 0.5298 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009234/0.5494, allocations: 0.6154 MB / 0.5304 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.5526, allocations: 1.838 MB / 0.5322 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.5657, allocations: 13.53 MB / 0.5454 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.5659, allocations: 173 kB / 0.5456 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.5659, allocations: 76.81 kB / 0.5456 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/0.566, allocations: 114.7 kB / 0.5458 GB, free: 10.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.004e-06/0.566, allocations: 0 / 0.5458 GB, free: 10.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003113/0.5663, allocations: 148.3 kB / 0.5459 GB, free: 10.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.5664, allocations: 126.7 kB / 0.546 GB, free: 10.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.5684, allocations: 1.642 MB / 0.5476 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.5685, allocations: 25.7 kB / 0.5476 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.5699, allocations: 1.359 MB / 0.549 GB, free: 8.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.57, allocations: 44.06 kB / 0.549 GB, free: 8.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.5701, allocations: 43.16 kB / 0.5491 GB, free: 8.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003768/0.5704, allocations: 449.7 kB / 0.5495 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008153/0.5713, allocations: 368.5 kB / 0.5498 GB, free: 8.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.5732, allocations: 1.911 MB / 0.5517 GB, free: 5.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.5742, allocations: 0.7719 MB / 0.5525 GB, free: 5.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.646e-05/0.5743, allocations: 20.12 kB / 0.5525 GB, free: 5.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003239/0.5775, allocations: 2.1 MB / 0.5545 GB, free: 5.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.5776, allocations: 29.19 kB / 0.5546 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-05/0.5777, allocations: 60.8 kB / 0.5546 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.878e-05/0.5778, allocations: 81.44 kB / 0.5547 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.5789, allocations: 484.3 kB / 0.5551 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.607e-05/0.579, allocations: 115.5 kB / 0.5553 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.5805, allocations: 323.7 kB / 0.5556 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.5806, allocations: 140.5 kB / 0.5557 GB, free: 4.457 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.001265/0.5819, allocations: 0.8641 MB / 0.5565 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.5821, allocations: 231.3 kB / 0.5568 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.5823, allocations: 231.3 kB / 0.557 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-05/0.5824, allocations: 180.3 kB / 0.5572 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.443e-05/0.5825, allocations: 184.2 kB / 0.5573 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.766e-05/0.5825, allocations: 183.3 kB / 0.5575 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.5843, allocations: 1.481 MB / 0.559 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-05/0.5844, allocations: 101 kB / 0.5591 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.5844, allocations: 109.5 kB / 0.5592 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.3e-05/0.5845, allocations: 180.2 kB / 0.5593 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/0.5846, allocations: 188.2 kB / 0.5595 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.197e-05/0.5846, allocations: 180.2 kB / 0.5597 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.008e-05/0.5847, allocations: 178.8 kB / 0.5598 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.585, allocations: 433.2 kB / 0.5603 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.5853, allocations: 294.8 kB / 0.5605 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.5855, allocations: 180.2 kB / 0.5607 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.5858, allocations: 111.8 kB / 0.5608 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.5859, allocations: 180.3 kB / 0.561 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.586, allocations: 108.9 kB / 0.5611 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001183/0.5871, allocations: 1.006 MB / 0.5621 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5872, allocations: 0 / 0.5621 GB, free: 14.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001713/0.5889, allocations: 436.8 kB / 0.5625 GB, free: 14.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0005606/0.5894, allocations: 0.9328 MB / 0.5634 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.5908, allocations: 0.8898 MB / 0.5643 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5908, allocations: 0 / 0.5643 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.5908, allocations: 0 / 0.5643 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/0.5914, allocations: 0.6508 MB / 0.5649 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/0.6214, allocations: 48.51 MB / 0.6123 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.6229, allocations: 1.611 MB / 0.6139 GB, free: 9.156 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001326/0.6243, allocations: 495.3 kB / 0.6143 GB, free: 8.668 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007037/0.625, allocations: 0.6672 MB / 0.615 GB, free: 8 MB / 462.1 MB Notification: Performance of SimCode: time 1.643e-06/0.625, allocations: 0 / 0.615 GB, free: 8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04253/0.6675, allocations: 22.23 MB / 0.6367 GB, free: 1.957 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.6678, allocations: 182.4 kB / 0.6369 GB, free: 1.711 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.931, allocations: 0 / 0.6369 GB, free: 1.711 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat