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.0007913/0.0007912, allocations: 91.83 kB / 17 MB, free: 6.375 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.0009105/0.0009106, allocations: 186.8 kB / 17.89 MB, free: 5.926 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.321/1.321, allocations: 223.3 MB / 241.9 MB, free: 76 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.2064/0.2064, allocations: 44.23 MB / 337.2 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003018, allocations: 11.98 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1175, allocations: 61.91 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.03359/0.1512, allocations: 36.41 MB / 0.4961 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01698/0.1682, allocations: 7.008 MB / 0.503 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007115/0.1754, allocations: 163.7 kB / 0.5031 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00521/0.1806, allocations: 1.753 MB / 0.5048 GB, free: 196 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2732/0.4538, allocations: 4.869 MB / 0.5096 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.4555, allocations: 91.84 kB / 0.5097 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002487/0.458, allocations: 1.294 MB / 0.511 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003191/0.4612, allocations: 1.721 MB / 0.5126 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.4626, allocations: 387.1 kB / 0.513 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.464, allocations: 0.5456 MB / 0.5135 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.4642, allocations: 44.72 kB / 0.5136 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.4645, allocations: 45.92 kB / 0.5136 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008588/0.4654, allocations: 0.622 MB / 0.5142 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.4658, allocations: 341.5 kB / 0.5146 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.4679, allocations: 1.777 MB / 0.5163 GB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4679, allocations: 1.062 kB / 0.5163 GB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.4679, allocations: 0 / 0.5163 GB, free: 10.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.433e-05/0.468, allocations: 2.438 kB / 0.5163 GB, free: 10.72 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.003229/0.4712, allocations: 1.627 MB / 0.5179 GB, free: 9.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.4713, allocations: 13.56 kB / 0.5179 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004508/0.4717, allocations: 329.8 kB / 0.5182 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/0.4724, allocations: 212.9 kB / 0.5184 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.4737, allocations: 0.7098 MB / 0.5191 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.4738, allocations: 118.1 kB / 0.5192 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/0.474, allocations: 150.6 kB / 0.5194 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005099/0.4791, allocations: 3.364 MB / 0.5226 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.562e-05/0.4792, allocations: 17.66 kB / 0.5227 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.4793, allocations: 71.27 kB / 0.5227 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009774/0.4803, allocations: 0.6179 MB / 0.5233 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.484, allocations: 1.842 MB / 0.5251 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.4956, allocations: 13.51 MB / 0.5383 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.789e-05/0.4958, allocations: 175 kB / 0.5385 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.4958, allocations: 84.08 kB / 0.5386 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.4959, allocations: 78.38 kB / 0.5387 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.4959, allocations: 106.9 kB / 0.5388 GB, free: 13.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.585e-06/0.4959, allocations: 0 / 0.5388 GB, free: 13.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.000304/0.4962, allocations: 159.2 kB / 0.5389 GB, free: 13.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.4963, allocations: 126.7 kB / 0.539 GB, free: 13.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.4983, allocations: 1.649 MB / 0.5406 GB, free: 12.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.4983, allocations: 28.33 kB / 0.5407 GB, free: 12.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008276/0.4992, allocations: 1.356 MB / 0.542 GB, free: 11.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.4992, allocations: 44.48 kB / 0.542 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.4993, allocations: 41.72 kB / 0.5421 GB, free: 11.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.4995, allocations: 440 kB / 0.5425 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.4999, allocations: 368.6 kB / 0.5428 GB, free: 11.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.5013, allocations: 1.922 MB / 0.5447 GB, free: 9.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.5023, allocations: 0.7737 MB / 0.5455 GB, free: 9.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.448e-05/0.5023, allocations: 15.16 kB / 0.5455 GB, free: 9.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002842/0.5051, allocations: 2.1 MB / 0.5475 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.5052, allocations: 32.69 kB / 0.5476 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.205e-05/0.5052, allocations: 54.53 kB / 0.5476 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.389e-05/0.5053, allocations: 82.22 kB / 0.5477 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.5064, allocations: 495.5 kB / 0.5482 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.515e-05/0.5064, allocations: 111.2 kB / 0.5483 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.5078, allocations: 324.5 kB / 0.5486 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.5079, allocations: 137.4 kB / 0.5487 GB, free: 8.219 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.001129/0.5091, allocations: 0.8681 MB / 0.5496 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.5093, allocations: 221.5 kB / 0.5498 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.5094, allocations: 229.8 kB / 0.55 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.891e-05/0.5095, allocations: 178.9 kB / 0.5502 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.806e-05/0.5096, allocations: 192.1 kB / 0.5504 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.574e-05/0.5096, allocations: 180.8 kB / 0.5505 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.5111, allocations: 1.472 MB / 0.552 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-05/0.5112, allocations: 108.9 kB / 0.5521 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.5112, allocations: 107.7 kB / 0.5522 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.618e-05/0.5113, allocations: 187.7 kB / 0.5523 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.5113, allocations: 176.3 kB / 0.5525 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-05/0.5114, allocations: 176.3 kB / 0.5527 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.906e-05/0.5115, allocations: 188.7 kB / 0.5529 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.5117, allocations: 435.6 kB / 0.5533 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.5119, allocations: 296.2 kB / 0.5536 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.5121, allocations: 182.3 kB / 0.5537 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.5124, allocations: 107.2 kB / 0.5538 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.5124, allocations: 180.2 kB / 0.554 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.5125, allocations: 111.5 kB / 0.5541 GB, free: 4.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001078/0.5136, allocations: 1.007 MB / 0.5551 GB, free: 3.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5136, allocations: 0 / 0.5551 GB, free: 3.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001594/0.5152, allocations: 431 kB / 0.5555 GB, free: 3.098 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.0005178/0.5157, allocations: 0.9417 MB / 0.5564 GB, free: 2.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.5169, allocations: 0.8945 MB / 0.5573 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5169, allocations: 0 / 0.5573 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.5169, allocations: 0 / 0.5573 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/0.5176, allocations: 0.6382 MB / 0.5579 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.531, allocations: 9.517 MB / 0.5672 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.5326, allocations: 1.578 MB / 0.5688 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001314/0.5339, allocations: 495.4 kB / 0.5692 GB, free: 5.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007548/0.5347, allocations: 0.6645 MB / 0.5699 GB, free: 5.215 MB / 414.1 MB Notification: Performance of SimCode: time 2.615e-06/0.5347, allocations: 2.078 kB / 0.5699 GB, free: 5.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04641/0.5811, allocations: 22.25 MB / 0.5916 GB, free: 15.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003385/0.5815, allocations: 182.2 kB / 0.5918 GB, free: 14.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.096, allocations: 0 / 0.5918 GB, free: 14.96 MB / 446.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