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.001031/0.001031, allocations: 102.1 kB / 17 MB, free: 6.477 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.001165/0.001165, allocations: 181.7 kB / 17.89 MB, free: 5.922 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.463/1.463, allocations: 223.3 MB / 241.9 MB, free: 224 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.2144/0.2144, allocations: 44.26 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.03686/0.1717, allocations: 36.4 MB / 0.4961 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.1885, allocations: 7.004 MB / 0.5029 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006112/0.1946, allocations: 163.7 kB / 0.5031 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004619/0.1993, allocations: 1.769 MB / 0.5048 GB, free: 240 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3333/0.5326, allocations: 4.863 MB / 0.5096 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.5346, allocations: 99.7 kB / 0.5097 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002609/0.5372, allocations: 1.288 MB / 0.5109 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002818/0.54, allocations: 1.711 MB / 0.5126 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008668/0.5409, allocations: 386 kB / 0.513 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008985/0.5418, allocations: 0.5428 MB / 0.5135 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.542, allocations: 49.84 kB / 0.5135 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.5423, allocations: 41.23 kB / 0.5136 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000688/0.543, allocations: 0.622 MB / 0.5142 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.5433, allocations: 337.7 kB / 0.5145 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.545, allocations: 1.776 MB / 0.5162 GB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.545, allocations: 0 / 0.5162 GB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5451, allocations: 1.188 kB / 0.5162 GB, free: 10.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.016e-05/0.5451, allocations: 0 / 0.5162 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.002439/0.5475, allocations: 1.634 MB / 0.5178 GB, free: 9.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.5476, allocations: 10.16 kB / 0.5178 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.5482, allocations: 211.7 kB / 0.518 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/0.5491, allocations: 0.7087 MB / 0.5187 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-05/0.5492, allocations: 112.2 kB / 0.5188 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.5494, allocations: 154.4 kB / 0.519 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004444/0.5539, allocations: 3.361 MB / 0.5223 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.847e-05/0.5539, allocations: 22.28 kB / 0.5223 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.5541, allocations: 75.81 kB / 0.5224 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008849/0.555, allocations: 0.6161 MB / 0.523 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003789/0.5588, allocations: 1.841 MB / 0.5248 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.5713, allocations: 13.52 MB / 0.538 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.5715, allocations: 173.1 kB / 0.5381 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.5716, allocations: 80.14 kB / 0.5382 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.5716, allocations: 75.28 kB / 0.5383 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.5717, allocations: 109.8 kB / 0.5384 GB, free: 13.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.345e-06/0.5717, allocations: 0 / 0.5384 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003108/0.572, allocations: 154.2 kB / 0.5385 GB, free: 13.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.5721, allocations: 133.2 kB / 0.5387 GB, free: 13.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.5741, allocations: 1.647 MB / 0.5403 GB, free: 13.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.5742, allocations: 27.11 kB / 0.5403 GB, free: 13.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.5752, allocations: 1.358 MB / 0.5416 GB, free: 12.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.5753, allocations: 44.02 kB / 0.5417 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.5754, allocations: 46.31 kB / 0.5417 GB, free: 12.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002589/0.5756, allocations: 440.8 kB / 0.5421 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/0.5761, allocations: 365.6 kB / 0.5425 GB, free: 11.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/0.5782, allocations: 1.919 MB / 0.5444 GB, free: 9.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.5794, allocations: 0.7722 MB / 0.5451 GB, free: 9.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.158e-05/0.5794, allocations: 22.88 kB / 0.5451 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003455/0.5829, allocations: 2.096 MB / 0.5472 GB, free: 8.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/0.5829, allocations: 32.06 kB / 0.5472 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.593e-05/0.583, allocations: 55.72 kB / 0.5473 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.419e-05/0.5831, allocations: 79.94 kB / 0.5473 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.5842, allocations: 491.8 kB / 0.5478 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.372e-05/0.5843, allocations: 114.8 kB / 0.5479 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.5859, allocations: 324.4 kB / 0.5482 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.586, allocations: 143.4 kB / 0.5484 GB, free: 8.32 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.001417/0.5874, allocations: 0.868 MB / 0.5492 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.5876, allocations: 222.6 kB / 0.5494 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.5878, allocations: 230.2 kB / 0.5496 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.161e-05/0.5879, allocations: 184.2 kB / 0.5498 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.967e-05/0.588, allocations: 179 kB / 0.55 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.967e-05/0.5881, allocations: 184.2 kB / 0.5502 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.5899, allocations: 1.477 MB / 0.5516 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/0.59, allocations: 102 kB / 0.5517 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.59, allocations: 111 kB / 0.5518 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.687e-05/0.5901, allocations: 179.3 kB / 0.552 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.5902, allocations: 180.2 kB / 0.5521 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.581e-05/0.5902, allocations: 186.3 kB / 0.5523 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.869e-05/0.5903, allocations: 180.2 kB / 0.5525 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.5906, allocations: 431.7 kB / 0.5529 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.5909, allocations: 305.1 kB / 0.5532 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.5911, allocations: 179.2 kB / 0.5534 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.5913, allocations: 108.9 kB / 0.5535 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.5914, allocations: 178.8 kB / 0.5536 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.5915, allocations: 109.8 kB / 0.5538 GB, free: 4.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001433/0.5929, allocations: 1.007 MB / 0.5547 GB, free: 3.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5929, allocations: 0 / 0.5547 GB, free: 3.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002275/0.5952, allocations: 429.9 kB / 0.5551 GB, free: 3.328 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.0002967/0.5955, allocations: 182.4 kB / 0.5553 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.5971, allocations: 0.8947 MB / 0.5562 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5971, allocations: 0 / 0.5562 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.5971, allocations: 0 / 0.5562 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.598, allocations: 0.6367 MB / 0.5568 GB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.603, allocations: 3.411 MB / 0.5601 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.6044, allocations: 1.583 MB / 0.5617 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001192/0.6056, allocations: 493.2 kB / 0.5622 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.6057, allocations: 75.44 kB / 0.5622 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6057, allocations: 0 / 0.5622 GB, free: 12.55 MB / 414.1 MB Notification: Performance of Templates: time 0.01794/0.6236, allocations: 7.912 MB / 0.57 GB, free: 4.734 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches