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.001677/0.001677, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001803/0.001803, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.404/1.404, allocations: 222.9 MB / 243 MB, free: 15.15 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.2172/0.2172, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.00188, allocations: 73.56 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1388, allocations: 60.81 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009839/0.1487, allocations: 8.728 MB / 479.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005341/0.1541, allocations: 2.242 MB / 481.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008864/0.155, allocations: 43.94 kB / 481.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.1578, allocations: 1.534 MB / 483.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.1591, allocations: 481.2 kB / 483.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1593, allocations: 67.91 kB / 483.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.1604, allocations: 0.941 MB / 484.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.1619, allocations: 1.506 MB / 486.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006993/0.1626, allocations: 0.5449 MB / 486.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007467/0.1634, allocations: 0.6811 MB / 487.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.1636, allocations: 120 kB / 487.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.1639, allocations: 131.8 kB / 487.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005928/0.1645, allocations: 0.7286 MB / 488.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007041/0.1652, allocations: 0.8658 MB / 489.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.1672, allocations: 2.335 MB / 491.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1672, allocations: 0 / 491.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1672, allocations: 0 / 491.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.1673, allocations: 0 / 491.6 MB, free: 8.613 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.002352/0.1696, allocations: 1.967 MB / 493.6 MB, free: 6.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1697, allocations: 8.031 kB / 493.6 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005304/0.1702, allocations: 210.2 kB / 493.8 MB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.1714, allocations: 0.7263 MB / 494.5 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/0.1714, allocations: 119.3 kB / 494.6 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.1716, allocations: 156.1 kB / 494.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/0.1752, allocations: 3.367 MB / 498.2 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.1752, allocations: 15.81 kB / 498.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.1754, allocations: 75.94 kB / 498.2 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006346/0.176, allocations: 0.6188 MB / 498.9 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/0.1785, allocations: 1.858 MB / 0.489 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.1891, allocations: 13.47 MB / 0.5021 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1893, allocations: 169.1 kB / 0.5023 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.1893, allocations: 88.02 kB / 0.5024 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.1894, allocations: 87.16 kB / 0.5025 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.947e-05/0.1894, allocations: 109.8 kB / 0.5026 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.304e-06/0.1894, allocations: 0 / 0.5026 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002892/0.1897, allocations: 148.1 kB / 0.5027 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.1898, allocations: 126.7 kB / 0.5028 GB, free: 424 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2554/0.4452, allocations: 1.652 MB / 0.5044 GB, free: 49.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.4453, allocations: 26.42 kB / 0.5045 GB, free: 49.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008423/0.4461, allocations: 1.362 MB / 0.5058 GB, free: 49.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.4462, allocations: 46.28 kB / 0.5058 GB, free: 49.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005258/0.4467, allocations: 422 kB / 0.5063 GB, free: 48.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4469, allocations: 355.3 kB / 0.5066 GB, free: 48.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005875/0.4475, allocations: 374.8 kB / 0.5069 GB, free: 48.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.4487, allocations: 1.929 MB / 0.5088 GB, free: 46.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.4507, allocations: 2.511 MB / 0.5113 GB, free: 43.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.12e-05/0.4507, allocations: 16.56 kB / 0.5113 GB, free: 43.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003157/0.4539, allocations: 2.117 MB / 0.5134 GB, free: 42.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.4539, allocations: 28.97 kB / 0.5134 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.368e-05/0.454, allocations: 57.88 kB / 0.5135 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.4541, allocations: 73.25 kB / 0.5135 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4554, allocations: 491.4 kB / 0.514 GB, free: 42.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001149/0.4555, allocations: 108 kB / 0.5141 GB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.457, allocations: 325.3 kB / 0.5144 GB, free: 42.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.4572, allocations: 141.9 kB / 0.5145 GB, free: 42.31 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.001172/0.4584, allocations: 0.8643 MB / 0.5154 GB, free: 41.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.4586, allocations: 233.6 kB / 0.5156 GB, free: 41.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.4589, allocations: 222 kB / 0.5158 GB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.472e-05/0.4589, allocations: 194 kB / 0.516 GB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-05/0.459, allocations: 178.3 kB / 0.5162 GB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-05/0.459, allocations: 181.7 kB / 0.5163 GB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.4612, allocations: 1.473 MB / 0.5178 GB, free: 40.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/0.4612, allocations: 102.7 kB / 0.5179 GB, free: 40.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.4612, allocations: 108.7 kB / 0.518 GB, free: 39.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.028e-05/0.4613, allocations: 185 kB / 0.5182 GB, free: 39.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.4613, allocations: 182.4 kB / 0.5183 GB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.19e-05/0.4613, allocations: 182.4 kB / 0.5185 GB, free: 39.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.153e-05/0.4614, allocations: 178.4 kB / 0.5187 GB, free: 39.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.4616, allocations: 436.6 kB / 0.5191 GB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.4619, allocations: 297.4 kB / 0.5194 GB, free: 38.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.462, allocations: 179.1 kB / 0.5195 GB, free: 38.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.4623, allocations: 106.4 kB / 0.5197 GB, free: 38.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.4623, allocations: 182.2 kB / 0.5198 GB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.4624, allocations: 108.9 kB / 0.5199 GB, free: 37.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001429/0.4638, allocations: 1.02 MB / 0.5209 GB, free: 37.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4638, allocations: 0 / 0.5209 GB, free: 37.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001826/0.4656, allocations: 432.1 kB / 0.5213 GB, free: 37.46 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.000183/0.4658, allocations: 169.8 kB / 0.5215 GB, free: 37.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.4674, allocations: 0.9035 MB / 0.5224 GB, free: 37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4674, allocations: 4.062 kB / 0.5224 GB, free: 37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.4674, allocations: 1.156 kB / 0.5224 GB, free: 37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.4682, allocations: 0.5724 MB / 0.5229 GB, free: 36.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/0.4738, allocations: 2.769 MB / 0.5256 GB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.4754, allocations: 1.577 MB / 0.5272 GB, free: 34.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001034/0.4764, allocations: 496.1 kB / 0.5277 GB, free: 34.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.4765, allocations: 74.41 kB / 0.5277 GB, free: 34.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4766, allocations: 0 / 0.5277 GB, free: 34.21 MB / 382.1 MB Notification: Performance of Templates: time 0.01508/0.4916, allocations: 8.396 MB / 0.5359 GB, free: 28.35 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 -s cvode -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