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.001064/0.001064, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001199/0.001199, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.315/1.315, allocations: 222.9 MB / 243 MB, free: 15.14 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.2049/0.2049, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 68.67 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1257, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0103/0.136, allocations: 8.714 MB / 479.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004844/0.1409, allocations: 2.242 MB / 481.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.1423, allocations: 43.94 kB / 481.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.1452, allocations: 1.542 MB / 483.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.1465, allocations: 469.2 kB / 483.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1469, allocations: 67.91 kB / 483.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.1484, allocations: 0.9449 MB / 484.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.1503, allocations: 1.51 MB / 486.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000912/0.1512, allocations: 0.541 MB / 486.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.1525, allocations: 0.6772 MB / 487.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004112/0.1529, allocations: 120 kB / 487.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.1534, allocations: 131.9 kB / 487.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008489/0.1543, allocations: 0.7402 MB / 488.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.1557, allocations: 0.8503 MB / 489.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002709/0.1584, allocations: 2.346 MB / 491.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1584, allocations: 0 / 491.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1584, allocations: 0 / 491.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.184e-05/0.1585, allocations: 0 / 491.6 MB, free: 8.625 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.00271/0.1612, allocations: 1.955 MB / 493.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1613, allocations: 8.031 kB / 493.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000551/0.1618, allocations: 222.2 kB / 493.8 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.163, allocations: 0.7264 MB / 494.5 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.002e-05/0.1631, allocations: 119.3 kB / 494.6 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.1633, allocations: 152.1 kB / 494.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003911/0.1672, allocations: 3.375 MB / 498.2 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.1673, allocations: 19.81 kB / 498.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.1674, allocations: 71.94 kB / 498.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007113/0.1681, allocations: 0.611 MB / 498.9 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.171, allocations: 1.858 MB / 0.489 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.1824, allocations: 13.47 MB / 0.5021 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.1825, allocations: 173.1 kB / 0.5023 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.1826, allocations: 84.14 kB / 0.5024 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.1826, allocations: 83.16 kB / 0.5025 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.1827, allocations: 109.8 kB / 0.5026 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.1827, allocations: 0 / 0.5026 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002281/0.1829, allocations: 152.1 kB / 0.5027 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.183, allocations: 130.7 kB / 0.5028 GB, free: 436 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2379/0.4209, allocations: 1.652 MB / 0.5045 GB, free: 49.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.421, allocations: 26.5 kB / 0.5045 GB, free: 49.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007899/0.4218, allocations: 1.362 MB / 0.5058 GB, free: 49.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.4218, allocations: 45.78 kB / 0.5059 GB, free: 49.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/0.4222, allocations: 417.7 kB / 0.5063 GB, free: 48.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.4223, allocations: 358.8 kB / 0.5066 GB, free: 48.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.4229, allocations: 370 kB / 0.5069 GB, free: 48.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.4239, allocations: 1.934 MB / 0.5088 GB, free: 46.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.4258, allocations: 2.509 MB / 0.5113 GB, free: 43.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-05/0.4258, allocations: 16.16 kB / 0.5113 GB, free: 43.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003006/0.4289, allocations: 2.116 MB / 0.5134 GB, free: 42.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.4289, allocations: 28.91 kB / 0.5134 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-05/0.429, allocations: 59.09 kB / 0.5135 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-05/0.429, allocations: 74.84 kB / 0.5135 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.4301, allocations: 494.8 kB / 0.514 GB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-05/0.4302, allocations: 108.8 kB / 0.5141 GB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.4318, allocations: 324.4 kB / 0.5144 GB, free: 42.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.432, allocations: 137.8 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.001333/0.4333, allocations: 0.8655 MB / 0.5154 GB, free: 41.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.4336, allocations: 235.8 kB / 0.5156 GB, free: 41.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.4339, allocations: 225.6 kB / 0.5158 GB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.058e-05/0.4339, allocations: 186.1 kB / 0.516 GB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/0.434, allocations: 180.2 kB / 0.5162 GB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/0.434, allocations: 182.2 kB / 0.5163 GB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.4358, allocations: 1.481 MB / 0.5178 GB, free: 40.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/0.4358, allocations: 103.2 kB / 0.5179 GB, free: 40.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.4359, allocations: 107.2 kB / 0.518 GB, free: 39.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.436e-05/0.4359, allocations: 176.8 kB / 0.5182 GB, free: 39.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.4359, allocations: 178.5 kB / 0.5183 GB, free: 39.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.748e-05/0.436, allocations: 194.2 kB / 0.5185 GB, free: 39.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.427e-05/0.436, allocations: 177.1 kB / 0.5187 GB, free: 39.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.4361, allocations: 429.9 kB / 0.5191 GB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.4364, allocations: 293.2 kB / 0.5194 GB, free: 38.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.4365, allocations: 182.9 kB / 0.5195 GB, free: 38.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.4368, allocations: 114.6 kB / 0.5197 GB, free: 38.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.4368, allocations: 182.2 kB / 0.5198 GB, free: 38.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.4368, allocations: 102.9 kB / 0.5199 GB, free: 37.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.438, allocations: 1.02 MB / 0.5209 GB, free: 37.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.438, allocations: 0 / 0.5209 GB, free: 37.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001591/0.4396, allocations: 432.4 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.00012/0.4397, allocations: 172.5 kB / 0.5215 GB, free: 37.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.441, allocations: 0.8989 MB / 0.5224 GB, free: 37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.441, allocations: 3.938 kB / 0.5224 GB, free: 37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.441, allocations: 6.688 kB / 0.5224 GB, free: 36.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.4416, allocations: 0.5708 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.003428/0.4451, allocations: 2.763 MB / 0.5256 GB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.4463, allocations: 1.588 MB / 0.5272 GB, free: 34.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008522/0.4471, allocations: 488.3 kB / 0.5277 GB, free: 34.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.461e-05/0.4472, allocations: 74.38 kB / 0.5277 GB, free: 34.21 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4472, allocations: 4 kB / 0.5277 GB, free: 34.2 MB / 382.1 MB Notification: Performance of Templates: time 0.01522/0.4625, allocations: 8.382 MB / 0.5359 GB, free: 28.4 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 gbode -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