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.001577/0.001577, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001927/0.001927, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.409/1.409, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2176/0.2176, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 60.31 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1205, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01522/0.1358, allocations: 8.707 MB / 478.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006638/0.1425, allocations: 2.258 MB / 480.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.144, allocations: 43.94 kB / 480.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004123/0.1481, allocations: 1.53 MB / 482.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.1494, allocations: 473.2 kB / 482.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.1498, allocations: 71.89 kB / 483 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.1511, allocations: 0.9372 MB / 483.9 MB, free: 308 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.153, allocations: 1.51 MB / 485.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.1543, allocations: 0.5411 MB / 486 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.1558, allocations: 0.681 MB / 486.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004865/0.1563, allocations: 120 kB / 486.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006364/0.157, allocations: 123.9 kB / 486.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008445/0.1578, allocations: 0.7363 MB / 487.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.159, allocations: 0.8619 MB / 488.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.1614, allocations: 2.234 MB / 490.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.1614, allocations: 4 kB / 490.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1614, allocations: 0 / 490.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.165e-05/0.1615, allocations: 0 / 490.7 MB, free: 9.449 MB / 366.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.002908/0.1644, allocations: 1.955 MB / 492.7 MB, free: 7.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.1645, allocations: 8.031 kB / 492.7 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006661/0.1651, allocations: 218.2 kB / 492.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.1662, allocations: 0.7186 MB / 493.6 MB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.665e-05/0.1663, allocations: 119.4 kB / 493.7 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.1665, allocations: 152.1 kB / 493.9 MB, free: 6.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003973/0.1704, allocations: 3.379 MB / 497.3 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.1705, allocations: 11.88 kB / 497.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.1706, allocations: 71.95 kB / 497.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007135/0.1714, allocations: 0.6188 MB / 498 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.1742, allocations: 1.862 MB / 499.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.1857, allocations: 13.52 MB / 0.5013 GB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1859, allocations: 169.1 kB / 0.5015 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.1859, allocations: 88.08 kB / 0.5016 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.186, allocations: 79.22 kB / 0.5016 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.581e-05/0.186, allocations: 105.8 kB / 0.5017 GB, free: 1.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.474e-06/0.186, allocations: 4 kB / 0.5018 GB, free: 1.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002872/0.1863, allocations: 148.1 kB / 0.5019 GB, free: 1.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.1864, allocations: 130.7 kB / 0.502 GB, free: 1.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2331/0.4195, allocations: 1.657 MB / 0.5036 GB, free: 50.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.4196, allocations: 25.7 kB / 0.5037 GB, free: 50.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008456/0.4204, allocations: 1.362 MB / 0.505 GB, free: 49.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.4205, allocations: 44.58 kB / 0.505 GB, free: 49.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004983/0.421, allocations: 421.5 kB / 0.5054 GB, free: 48.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4211, allocations: 359.6 kB / 0.5058 GB, free: 48.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/0.4217, allocations: 370.9 kB / 0.5061 GB, free: 48.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.423, allocations: 1.933 MB / 0.508 GB, free: 46.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.4249, allocations: 2.514 MB / 0.5105 GB, free: 43.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.609e-05/0.425, allocations: 15.22 kB / 0.5105 GB, free: 43.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003299/0.4283, allocations: 2.113 MB / 0.5126 GB, free: 42.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.4283, allocations: 29.53 kB / 0.5126 GB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.119e-05/0.4284, allocations: 60.84 kB / 0.5126 GB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-05/0.4285, allocations: 74.92 kB / 0.5127 GB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.4297, allocations: 490.4 kB / 0.5132 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.714e-05/0.4298, allocations: 110.2 kB / 0.5133 GB, free: 42.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.4314, allocations: 324.7 kB / 0.5136 GB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.4316, allocations: 138.2 kB / 0.5137 GB, free: 42.38 MB / 382.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.001236/0.4328, allocations: 0.8616 MB / 0.5146 GB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.433, allocations: 236.6 kB / 0.5148 GB, free: 41.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.4332, allocations: 226.6 kB / 0.515 GB, free: 41.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.389e-05/0.4333, allocations: 187.4 kB / 0.5152 GB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.951e-05/0.4333, allocations: 178.3 kB / 0.5154 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/0.4333, allocations: 177 kB / 0.5155 GB, free: 41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.4352, allocations: 1.482 MB / 0.517 GB, free: 40.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.4353, allocations: 106.1 kB / 0.5171 GB, free: 40.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.4353, allocations: 106.7 kB / 0.5172 GB, free: 40.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.701e-05/0.4353, allocations: 178.3 kB / 0.5173 GB, free: 39.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.4354, allocations: 177.3 kB / 0.5175 GB, free: 39.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.003e-05/0.4354, allocations: 186 kB / 0.5177 GB, free: 39.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.765e-05/0.4354, allocations: 186.1 kB / 0.5179 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.4357, allocations: 429.9 kB / 0.5183 GB, free: 38.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.4359, allocations: 293.1 kB / 0.5186 GB, free: 38.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.4361, allocations: 182.6 kB / 0.5187 GB, free: 38.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.4363, allocations: 107 kB / 0.5188 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.4364, allocations: 193.1 kB / 0.519 GB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.4364, allocations: 102.9 kB / 0.5191 GB, free: 38.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001352/0.4377, allocations: 1.015 MB / 0.5201 GB, free: 37.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4378, allocations: 0 / 0.5201 GB, free: 37.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001853/0.4396, allocations: 432.2 kB / 0.5205 GB, free: 37.54 MB / 382.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.000153/0.4398, allocations: 178 kB / 0.5207 GB, free: 37.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.4413, allocations: 0.8987 MB / 0.5216 GB, free: 37.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.4413, allocations: 2.625 kB / 0.5216 GB, free: 37.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.698e-06/0.4413, allocations: 5.125 kB / 0.5216 GB, free: 37.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007353/0.4421, allocations: 0.5722 MB / 0.5221 GB, free: 36.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.4463, allocations: 2.987 MB / 0.525 GB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.4476, allocations: 1.575 MB / 0.5266 GB, free: 34.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.4477, allocations: 89.81 kB / 0.5267 GB, free: 34.18 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4478, allocations: 0 / 0.5267 GB, free: 34.18 MB / 382.1 MB Notification: Performance of Templates: time 0.02299/0.4707, allocations: 17.77 MB / 0.544 GB, free: 20.05 MB / 382.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/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_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches