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.001356/0.001356, allocations: 100 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 209.7 kB / 18.14 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 46.11 MB / 343.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 80.92 kB / 416.9 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.117, allocations: 62.45 MB / 479.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.3129/0.4299, allocations: 39.94 MB / 0.5071 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01945/0.4494, allocations: 7.261 MB / 0.5142 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007138/0.4566, allocations: 162.6 kB / 0.5144 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00295/0.4596, allocations: 1.538 MB / 0.5159 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.4611, allocations: 439.3 kB / 0.5163 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.4614, allocations: 63.25 kB / 0.5164 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002178/0.4636, allocations: 1.613 MB / 0.518 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.466, allocations: 1.564 MB / 0.5195 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009671/0.467, allocations: 0.5062 MB / 0.52 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.4684, allocations: 0.7426 MB / 0.5207 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.4686, allocations: 107.9 kB / 0.5208 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.469, allocations: 120.3 kB / 0.5209 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007665/0.4698, allocations: 0.7271 MB / 0.5216 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008168/0.4706, allocations: 0.8479 MB / 0.5225 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.4734, allocations: 2.205 MB / 0.5246 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.4734, allocations: 2.109 kB / 0.5246 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4734, allocations: 4 kB / 0.5246 GB, free: 6.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.242e-05/0.4735, allocations: 0 / 0.5246 GB, free: 6.445 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.003532/0.477, allocations: 1.936 MB / 0.5265 GB, free: 5.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/0.4771, allocations: 10.25 kB / 0.5265 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003969/0.4775, allocations: 330.4 kB / 0.5268 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/0.4782, allocations: 212.5 kB / 0.527 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.4792, allocations: 0.7258 MB / 0.5277 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.4793, allocations: 120.5 kB / 0.5279 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.4796, allocations: 151.3 kB / 0.528 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004235/0.4838, allocations: 3.372 MB / 0.5313 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.4838, allocations: 18.19 kB / 0.5313 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.484, allocations: 72.36 kB / 0.5314 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007554/0.4847, allocations: 0.6163 MB / 0.532 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.4877, allocations: 1.858 MB / 0.5338 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/0.5002, allocations: 13.53 MB / 0.547 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.5004, allocations: 169.1 kB / 0.5472 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.5004, allocations: 84.08 kB / 0.5472 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.5004, allocations: 91.16 kB / 0.5473 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.5005, allocations: 108 kB / 0.5474 GB, free: 4.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.474e-06/0.5005, allocations: 0 / 0.5474 GB, free: 4.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002828/0.5008, allocations: 146.3 kB / 0.5476 GB, free: 4.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.5009, allocations: 126.7 kB / 0.5477 GB, free: 4.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.5028, allocations: 1.646 MB / 0.5493 GB, free: 3.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.5029, allocations: 25.7 kB / 0.5493 GB, free: 3.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000813/0.5037, allocations: 1.357 MB / 0.5507 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.5037, allocations: 45.64 kB / 0.5507 GB, free: 2.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/0.5041, allocations: 426.7 kB / 0.5511 GB, free: 2.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5043, allocations: 355.7 kB / 0.5514 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004529/0.5047, allocations: 370.9 kB / 0.5518 GB, free: 1.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.5062, allocations: 1.928 MB / 0.5537 GB, free: 15.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.5084, allocations: 2.511 MB / 0.5561 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/0.5084, allocations: 19.94 kB / 0.5562 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00289/0.5113, allocations: 2.115 MB / 0.5582 GB, free: 10.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.5114, allocations: 32.19 kB / 0.5582 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.702e-05/0.5114, allocations: 60 kB / 0.5583 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.578e-05/0.5115, allocations: 72 kB / 0.5584 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.5126, allocations: 491 kB / 0.5588 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.876e-05/0.5126, allocations: 113 kB / 0.559 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.5139, allocations: 316.5 kB / 0.5593 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.5141, allocations: 140 kB / 0.5594 GB, free: 9.066 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001082/0.5152, allocations: 0.8628 MB / 0.5602 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.5154, allocations: 231.3 kB / 0.5605 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.5156, allocations: 228.5 kB / 0.5607 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.2e-05/0.5156, allocations: 176.3 kB / 0.5608 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.582e-05/0.5157, allocations: 188.2 kB / 0.561 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.159e-05/0.5158, allocations: 184.3 kB / 0.5612 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.5174, allocations: 1.477 MB / 0.5626 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/0.5175, allocations: 112.9 kB / 0.5627 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.5175, allocations: 104.9 kB / 0.5628 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.996e-05/0.5176, allocations: 180.2 kB / 0.563 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.5177, allocations: 184.3 kB / 0.5632 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.729e-05/0.5178, allocations: 184.2 kB / 0.5634 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-05/0.5178, allocations: 176.3 kB / 0.5635 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.5181, allocations: 425.2 kB / 0.5639 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.5184, allocations: 296.4 kB / 0.5642 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.5186, allocations: 184.2 kB / 0.5644 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.5188, allocations: 114.6 kB / 0.5645 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.5189, allocations: 180.2 kB / 0.5647 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.519, allocations: 101 kB / 0.5648 GB, free: 3.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001193/0.5202, allocations: 1.01 MB / 0.5658 GB, free: 2.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.5202, allocations: 4 kB / 0.5658 GB, free: 2.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001512/0.5217, allocations: 430.1 kB / 0.5662 GB, free: 1.879 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005819/0.5223, allocations: 0.9404 MB / 0.5671 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.5236, allocations: 0.9038 MB / 0.568 GB, free: 20 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5236, allocations: 0 / 0.568 GB, free: 20 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.5236, allocations: 4 kB / 0.568 GB, free: 16 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/0.5245, allocations: 0.6357 MB / 0.5686 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0257/0.5502, allocations: 15.12 MB / 0.5834 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.5526, allocations: 1.579 MB / 0.5849 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001412/0.5541, allocations: 495.2 kB / 0.5854 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009917/0.5551, allocations: 0.6672 MB / 0.586 GB, free: 11.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.873e-06/0.5551, allocations: 0 / 0.586 GB, free: 11.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04447/0.5996, allocations: 20.75 MB / 0.6063 GB, free: 6.723 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/0.5999, allocations: 199.8 kB / 0.6065 GB, free: 6.465 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.969, allocations: 0 / 0.6065 GB, free: 6.465 MB / 462.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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches