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.0008949/0.0008947, allocations: 101.7 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 197.9 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 45.93 MB / 344.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1388, allocations: 63.47 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.03426/0.1731, allocations: 36.42 MB / 0.5059 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3267/0.4999, allocations: 7.051 MB / 0.5128 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008755/0.5087, allocations: 160.8 kB / 0.5129 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006986/0.5157, allocations: 1.765 MB / 0.5147 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01629/0.532, allocations: 4.867 MB / 0.5194 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.5338, allocations: 106.5 kB / 0.5195 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002255/0.5361, allocations: 1.287 MB / 0.5208 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.5387, allocations: 1.734 MB / 0.5225 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008419/0.5396, allocations: 389.8 kB / 0.5228 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008959/0.5405, allocations: 0.5432 MB / 0.5234 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.5406, allocations: 49.41 kB / 0.5234 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.5409, allocations: 37.06 kB / 0.5235 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007505/0.5417, allocations: 0.6245 MB / 0.5241 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.5421, allocations: 338.6 kB / 0.5244 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.5443, allocations: 1.773 MB / 0.5261 GB, free: 6.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.5443, allocations: 0 / 0.5261 GB, free: 6.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.5443, allocations: 3.312 kB / 0.5261 GB, free: 6.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.62e-05/0.5444, allocations: 0 / 0.5261 GB, free: 6.75 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.002532/0.5469, allocations: 1.638 MB / 0.5277 GB, free: 5.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.547, allocations: 9.688 kB / 0.5277 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003491/0.5474, allocations: 331.3 kB / 0.528 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005495/0.5479, allocations: 215.4 kB / 0.5283 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.5489, allocations: 0.7074 MB / 0.5289 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.5491, allocations: 115.3 kB / 0.5291 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.5493, allocations: 151.2 kB / 0.5292 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00469/0.554, allocations: 3.359 MB / 0.5325 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.5541, allocations: 16.97 kB / 0.5325 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.5542, allocations: 75.27 kB / 0.5326 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008527/0.5551, allocations: 0.6183 MB / 0.5332 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003747/0.5588, allocations: 1.841 MB / 0.535 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.5726, allocations: 13.53 MB / 0.5482 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.5727, allocations: 165.1 kB / 0.5483 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.5728, allocations: 80.14 kB / 0.5484 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.5728, allocations: 77.5 kB / 0.5485 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.5729, allocations: 109.8 kB / 0.5486 GB, free: 8.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.625e-06/0.5729, allocations: 0 / 0.5486 GB, free: 8.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003082/0.5732, allocations: 151.1 kB / 0.5487 GB, free: 8.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.5733, allocations: 134.1 kB / 0.5489 GB, free: 8.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.5753, allocations: 1.641 MB / 0.5505 GB, free: 7.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.5753, allocations: 25.7 kB / 0.5505 GB, free: 7.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.5764, allocations: 1.36 MB / 0.5518 GB, free: 6.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.5764, allocations: 46.92 kB / 0.5519 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.5765, allocations: 42.23 kB / 0.5519 GB, free: 6.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.5768, allocations: 442 kB / 0.5523 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.5773, allocations: 364.9 kB / 0.5527 GB, free: 6.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.5791, allocations: 1.92 MB / 0.5546 GB, free: 3.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009642/0.58, allocations: 0.7792 MB / 0.5553 GB, free: 3.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.496e-05/0.5801, allocations: 14.66 kB / 0.5553 GB, free: 3.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003292/0.5834, allocations: 2.099 MB / 0.5574 GB, free: 2.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.5834, allocations: 28 kB / 0.5574 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.518e-05/0.5835, allocations: 56.5 kB / 0.5575 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.632e-05/0.5836, allocations: 84 kB / 0.5575 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5848, allocations: 489.4 kB / 0.558 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-05/0.5849, allocations: 112.1 kB / 0.5581 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.5865, allocations: 319.7 kB / 0.5584 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.5866, allocations: 140.6 kB / 0.5586 GB, free: 1.25 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.001373/0.588, allocations: 0.8703 MB / 0.5594 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.5882, allocations: 223.3 kB / 0.5596 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.5885, allocations: 234.3 kB / 0.5598 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.476e-05/0.5886, allocations: 188.2 kB / 0.56 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.43e-05/0.5887, allocations: 176.3 kB / 0.5602 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-05/0.5888, allocations: 184.1 kB / 0.5604 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.5907, allocations: 1.488 MB / 0.5618 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.046e-05/0.5907, allocations: 105 kB / 0.5619 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.5908, allocations: 106.6 kB / 0.562 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.421e-05/0.5909, allocations: 180.2 kB / 0.5622 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.472e-05/0.591, allocations: 184.2 kB / 0.5624 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.819e-05/0.5911, allocations: 182.6 kB / 0.5625 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.677e-05/0.5911, allocations: 176.3 kB / 0.5627 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.5914, allocations: 432 kB / 0.5631 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.5917, allocations: 300.4 kB / 0.5634 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.5919, allocations: 180.2 kB / 0.5636 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.5922, allocations: 107.9 kB / 0.5637 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.5923, allocations: 188.2 kB / 0.5639 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.5923, allocations: 101 kB / 0.564 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001341/0.5937, allocations: 1.004 MB / 0.5649 GB, free: 11.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5937, allocations: 0 / 0.5649 GB, free: 11.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001903/0.5956, allocations: 436.5 kB / 0.5654 GB, free: 10.91 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.0008345/0.5964, allocations: 0.9353 MB / 0.5663 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.598, allocations: 0.8887 MB / 0.5671 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.598, allocations: 0 / 0.5671 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.598, allocations: 0 / 0.5671 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009378/0.5989, allocations: 0.6453 MB / 0.5678 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.6141, allocations: 9.51 MB / 0.577 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.6156, allocations: 1.587 MB / 0.5786 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001238/0.6168, allocations: 487.4 kB / 0.5791 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/0.6175, allocations: 0.6672 MB / 0.5797 GB, free: 11.71 MB / 430.1 MB Notification: Performance of SimCode: time 1.583e-06/0.6176, allocations: 5.094 kB / 0.5797 GB, free: 11.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04188/0.6594, allocations: 22.25 MB / 0.6015 GB, free: 5.645 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.6596, allocations: 183.4 kB / 0.6016 GB, free: 5.402 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/2.971, allocations: 0 / 0.6016 GB, free: 5.402 MB / 446.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