Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",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.001193/0.001193, allocations: 92.55 kB / 16.98 MB, free: 5.938 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.001928/0.001929, allocations: 185.3 kB / 17.88 MB, free: 5.594 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.367/1.367, allocations: 223.2 MB / 241.8 MB, free: 388 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.1996/0.1996, allocations: 44.22 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003356, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0329/0.1755, allocations: 34.44 MB / 0.4941 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01773/0.1933, allocations: 7.346 MB / 0.5013 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007542/0.2009, allocations: 163.6 kB / 0.5014 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006795/0.2077, allocations: 1.707 MB / 0.5031 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2806/0.4884, allocations: 4.829 MB / 0.5078 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.4902, allocations: 110.4 kB / 0.5079 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.4917, allocations: 0.6052 MB / 0.5085 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/0.4943, allocations: 1.707 MB / 0.5102 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005164/0.4948, allocations: 304.6 kB / 0.5105 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/0.4953, allocations: 343 kB / 0.5108 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.672e-05/0.4954, allocations: 45 kB / 0.5109 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.4956, allocations: 44.14 kB / 0.5109 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005748/0.4962, allocations: 0.5858 MB / 0.5115 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.4965, allocations: 337.1 kB / 0.5118 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.4988, allocations: 1.77 MB / 0.5135 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4988, allocations: 1.641 kB / 0.5135 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4988, allocations: 0 / 0.5135 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.013e-05/0.4988, allocations: 0 / 0.5135 GB, free: 11.09 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.002523/0.5014, allocations: 1.63 MB / 0.5151 GB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.5014, allocations: 11.42 kB / 0.5151 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004447/0.5019, allocations: 333.1 kB / 0.5154 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005579/0.5025, allocations: 215.2 kB / 0.5156 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.5036, allocations: 0.7029 MB / 0.5163 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/0.5037, allocations: 116.9 kB / 0.5164 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.504, allocations: 151.4 kB / 0.5166 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004775/0.5087, allocations: 3.359 MB / 0.5199 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.898e-05/0.5088, allocations: 17.56 kB / 0.5199 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.5089, allocations: 75.75 kB / 0.52 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008728/0.5098, allocations: 0.6127 MB / 0.5206 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003518/0.5133, allocations: 1.85 MB / 0.5224 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01348/0.5268, allocations: 13.52 MB / 0.5356 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.527, allocations: 170.4 kB / 0.5357 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.527, allocations: 75.28 kB / 0.5358 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.178e-05/0.5271, allocations: 112.7 kB / 0.5359 GB, free: 14.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 3.867e-06/0.5271, allocations: 2.531 kB / 0.5359 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003632/0.5275, allocations: 156.2 kB / 0.5361 GB, free: 14.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5276, allocations: 129.6 kB / 0.5362 GB, free: 14.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.5299, allocations: 1.642 MB / 0.5378 GB, free: 14.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.53, allocations: 25.7 kB / 0.5378 GB, free: 14.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009962/0.531, allocations: 1.36 MB / 0.5391 GB, free: 13.19 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.531, allocations: 45.33 kB / 0.5392 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.5311, allocations: 42.59 kB / 0.5392 GB, free: 13.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002661/0.5314, allocations: 444.9 kB / 0.5396 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000541/0.5319, allocations: 363.5 kB / 0.54 GB, free: 12.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.5338, allocations: 1.911 MB / 0.5419 GB, free: 10.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009948/0.5348, allocations: 0.7753 MB / 0.5426 GB, free: 10.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-05/0.5348, allocations: 17.47 kB / 0.5426 GB, free: 10.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003118/0.5379, allocations: 2.1 MB / 0.5447 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.538, allocations: 29.56 kB / 0.5447 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-05/0.538, allocations: 58.16 kB / 0.5448 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.703e-05/0.5381, allocations: 83.66 kB / 0.5448 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.5392, allocations: 484.7 kB / 0.5453 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.378e-05/0.5393, allocations: 111.8 kB / 0.5454 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.541, allocations: 329.7 kB / 0.5457 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.5411, allocations: 135.8 kB / 0.5459 GB, free: 9.777 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.001336/0.5425, allocations: 0.8664 MB / 0.5467 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.5427, allocations: 228.2 kB / 0.5469 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.5429, allocations: 230.9 kB / 0.5471 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.651e-05/0.543, allocations: 182.2 kB / 0.5473 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.097e-05/0.543, allocations: 180.9 kB / 0.5475 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.976e-05/0.5431, allocations: 184.4 kB / 0.5477 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.5448, allocations: 1.475 MB / 0.5491 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.065e-05/0.5448, allocations: 106.8 kB / 0.5492 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.5449, allocations: 101 kB / 0.5493 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-05/0.545, allocations: 189.6 kB / 0.5495 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.679e-05/0.5451, allocations: 181.6 kB / 0.5497 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.659e-05/0.5451, allocations: 182.8 kB / 0.5498 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-05/0.5452, allocations: 176.3 kB / 0.55 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.5454, allocations: 437.2 kB / 0.5504 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.5458, allocations: 307 kB / 0.5507 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.546, allocations: 176.3 kB / 0.5509 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.5463, allocations: 106.3 kB / 0.551 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.5463, allocations: 178.3 kB / 0.5511 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.5464, allocations: 106.1 kB / 0.5512 GB, free: 5.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001225/0.5476, allocations: 1.013 MB / 0.5522 GB, free: 5.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5476, allocations: 2.188 kB / 0.5522 GB, free: 5.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001834/0.5495, allocations: 424.7 kB / 0.5526 GB, free: 5.352 MB / 398.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.0005746/0.5501, allocations: 0.9471 MB / 0.5536 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.5514, allocations: 0.8878 MB / 0.5544 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5514, allocations: 0 / 0.5544 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.5514, allocations: 6.984 kB / 0.5544 GB, free: 4.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.5521, allocations: 0.6489 MB / 0.5551 GB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03003/0.5821, allocations: 48.5 MB / 0.6024 GB, free: 3.289 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.5836, allocations: 1.626 MB / 0.604 GB, free: 1.777 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001323/0.5849, allocations: 487.4 kB / 0.6045 GB, free: 1.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006707/0.5856, allocations: 0.6648 MB / 0.6051 GB, free: 1.172 MB / 446.1 MB Notification: Performance of SimCode: time 1.973e-06/0.5856, allocations: 4 kB / 0.6051 GB, free: 1.168 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05075/0.6364, allocations: 22.22 MB / 0.6268 GB, free: 11.18 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.6366, allocations: 185 kB / 0.627 GB, free: 10.93 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/2.863, allocations: 4 kB / 0.627 GB, free: 10.93 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat