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: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 102.2 kB / 16.99 MB, free: 5.941 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.001017/0.001017, allocations: 183.1 kB / 17.87 MB, free: 5.609 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.378/1.378, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2161/0.2161, allocations: 44.22 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 12.55 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1278, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.03127/0.1591, allocations: 34.43 MB / 0.494 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.1759, allocations: 7.357 MB / 0.5012 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007143/0.1831, allocations: 159.7 kB / 0.5014 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006717/0.1899, allocations: 1.703 MB / 0.503 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.315/0.5049, allocations: 4.829 MB / 0.5077 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.5077, allocations: 104.9 kB / 0.5078 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002518/0.5102, allocations: 0.6054 MB / 0.5084 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003045/0.5133, allocations: 1.704 MB / 0.5101 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006916/0.514, allocations: 302 kB / 0.5104 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.5146, allocations: 353.9 kB / 0.5107 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.5147, allocations: 45.25 kB / 0.5108 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.515, allocations: 38.41 kB / 0.5108 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006377/0.5156, allocations: 0.5823 MB / 0.5114 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.5159, allocations: 338.1 kB / 0.5117 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.5188, allocations: 1.771 MB / 0.5134 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5188, allocations: 0 / 0.5134 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5188, allocations: 1.875 kB / 0.5134 GB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001158/0.519, allocations: 0 / 0.5134 GB, free: 11 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.003381/0.5224, allocations: 1.634 MB / 0.515 GB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.5224, allocations: 14.64 kB / 0.515 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006746/0.5231, allocations: 211.1 kB / 0.5152 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.5244, allocations: 0.7068 MB / 0.5159 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.5246, allocations: 119.8 kB / 0.516 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.5248, allocations: 154.7 kB / 0.5162 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005549/0.5303, allocations: 3.351 MB / 0.5195 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.563e-05/0.5304, allocations: 16.84 kB / 0.5195 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.5306, allocations: 74.12 kB / 0.5196 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009143/0.5315, allocations: 0.6175 MB / 0.5202 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003857/0.5354, allocations: 1.84 MB / 0.522 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.5481, allocations: 13.52 MB / 0.5351 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.5482, allocations: 169.8 kB / 0.5353 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.5483, allocations: 75.28 kB / 0.5354 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.928e-05/0.5484, allocations: 116.3 kB / 0.5355 GB, free: 15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.525e-06/0.5484, allocations: 0 / 0.5355 GB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003222/0.5487, allocations: 145.4 kB / 0.5356 GB, free: 14.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.5488, allocations: 132.9 kB / 0.5358 GB, free: 14.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.5508, allocations: 1.648 MB / 0.5374 GB, free: 14.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.5508, allocations: 25.7 kB / 0.5374 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009306/0.5518, allocations: 1.356 MB / 0.5387 GB, free: 13.26 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.5518, allocations: 46.05 kB / 0.5388 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.5519, allocations: 44.06 kB / 0.5388 GB, free: 13.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002477/0.5521, allocations: 444.4 kB / 0.5392 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/0.5527, allocations: 366.2 kB / 0.5396 GB, free: 12.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.5545, allocations: 1.911 MB / 0.5414 GB, free: 10.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.5555, allocations: 0.779 MB / 0.5422 GB, free: 10.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-05/0.5556, allocations: 18.25 kB / 0.5422 GB, free: 10.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003852/0.5594, allocations: 2.096 MB / 0.5443 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.5595, allocations: 29.47 kB / 0.5443 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.59e-05/0.5596, allocations: 57.88 kB / 0.5444 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.893e-05/0.5597, allocations: 83.89 kB / 0.5444 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.5609, allocations: 486.2 kB / 0.5449 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.124e-05/0.561, allocations: 117.6 kB / 0.545 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.5628, allocations: 321.6 kB / 0.5453 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.563, allocations: 141.6 kB / 0.5454 GB, free: 9.84 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.001511/0.5645, allocations: 0.8678 MB / 0.5463 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.5648, allocations: 224.8 kB / 0.5465 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.565, allocations: 232.6 kB / 0.5467 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001374/0.5651, allocations: 183.8 kB / 0.5469 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001259/0.5653, allocations: 178.8 kB / 0.5471 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.74e-05/0.5654, allocations: 188.3 kB / 0.5473 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.5676, allocations: 1.476 MB / 0.5487 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-05/0.5676, allocations: 104.7 kB / 0.5488 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.5677, allocations: 106.2 kB / 0.5489 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.319e-05/0.5678, allocations: 179.8 kB / 0.5491 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.59e-05/0.5678, allocations: 182.8 kB / 0.5492 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.666e-05/0.5679, allocations: 180.2 kB / 0.5494 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-05/0.568, allocations: 180.8 kB / 0.5496 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.5683, allocations: 435.1 kB / 0.55 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/0.5687, allocations: 295.2 kB / 0.5503 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.5689, allocations: 184.8 kB / 0.5505 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.5693, allocations: 106.9 kB / 0.5506 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.5694, allocations: 184.3 kB / 0.5507 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.5695, allocations: 105.2 kB / 0.5508 GB, free: 5.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001476/0.571, allocations: 1.009 MB / 0.5518 GB, free: 5.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.571, allocations: 2.094 kB / 0.5518 GB, free: 5.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002046/0.573, allocations: 426.5 kB / 0.5522 GB, free: 5.418 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.0001958/0.5732, allocations: 172.1 kB / 0.5524 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.5747, allocations: 0.8933 MB / 0.5533 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5747, allocations: 4.875 kB / 0.5533 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.521e-06/0.5747, allocations: 4.656 kB / 0.5533 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007579/0.5755, allocations: 0.6437 MB / 0.5539 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.5806, allocations: 3.393 MB / 0.5572 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/0.5822, allocations: 1.614 MB / 0.5588 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001444/0.5836, allocations: 493 kB / 0.5593 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.5838, allocations: 75.44 kB / 0.5593 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.196e-06/0.5838, allocations: 0 / 0.5593 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Templates: time 0.01894/0.6027, allocations: 7.923 MB / 0.5671 GB, free: 7.73 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches