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.001201/0.001201, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001075/0.001075, allocations: 192 kB / 18.55 MB, free: 4.566 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.297/1.297, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.1993/0.1993, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 65.3 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1132, allocations: 60.82 MB / 469.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009349/0.1225, allocations: 8.714 MB / 478 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004492/0.1271, allocations: 2.254 MB / 480.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.1283, allocations: 39.94 kB / 480.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003173/0.1315, allocations: 1.534 MB / 481.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.1332, allocations: 473.2 kB / 482.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.1336, allocations: 71.89 kB / 482.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.1349, allocations: 0.9333 MB / 483.3 MB, free: 288 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.1366, allocations: 1.518 MB / 484.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008268/0.1375, allocations: 0.5372 MB / 485.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.1385, allocations: 0.681 MB / 486 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.1388, allocations: 120 kB / 486.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.1392, allocations: 127.9 kB / 486.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006789/0.1399, allocations: 0.7363 MB / 487 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.141, allocations: 0.8541 MB / 487.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.143, allocations: 2.238 MB / 490.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.143, allocations: 0 / 490.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1431, allocations: 4 kB / 490.1 MB, free: 9.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.36e-05/0.1431, allocations: 0 / 490.1 MB, free: 9.426 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.002837/0.146, allocations: 1.955 MB / 492 MB, free: 7.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.146, allocations: 12.03 kB / 492 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005728/0.1466, allocations: 206.2 kB / 492.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009661/0.1476, allocations: 0.7264 MB / 493 MB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.1477, allocations: 115.4 kB / 493.1 MB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.1478, allocations: 156.1 kB / 493.2 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003768/0.1516, allocations: 3.375 MB / 496.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.1517, allocations: 15.88 kB / 496.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.1518, allocations: 71.94 kB / 496.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006518/0.1525, allocations: 0.6149 MB / 497.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/0.1553, allocations: 1.862 MB / 499.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009968/0.1653, allocations: 13.53 MB / 0.5007 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.837e-05/0.1653, allocations: 169.1 kB / 0.5008 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.1654, allocations: 88.14 kB / 0.5009 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1654, allocations: 79.22 kB / 0.501 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.1655, allocations: 113.8 kB / 0.5011 GB, free: 1.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.462e-06/0.1655, allocations: 0 / 0.5011 GB, free: 1.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002039/0.1657, allocations: 148.1 kB / 0.5012 GB, free: 1.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.1657, allocations: 126.7 kB / 0.5014 GB, free: 1.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2051/0.3709, allocations: 1.654 MB / 0.503 GB, free: 49.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3709, allocations: 25.7 kB / 0.503 GB, free: 49.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009813/0.3719, allocations: 1.355 MB / 0.5043 GB, free: 48.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.372, allocations: 48.89 kB / 0.5044 GB, free: 48.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005852/0.3726, allocations: 423.5 kB / 0.5048 GB, free: 48.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3727, allocations: 355.4 kB / 0.5051 GB, free: 48.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.3733, allocations: 372.6 kB / 0.5055 GB, free: 48.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.3746, allocations: 1.931 MB / 0.5074 GB, free: 45.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.3768, allocations: 2.514 MB / 0.5098 GB, free: 43.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.221e-05/0.3768, allocations: 19.44 kB / 0.5098 GB, free: 43.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003274/0.3801, allocations: 2.117 MB / 0.5119 GB, free: 42.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.593e-05/0.3802, allocations: 28.94 kB / 0.5119 GB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-05/0.3802, allocations: 56.81 kB / 0.512 GB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-05/0.3803, allocations: 73.41 kB / 0.5121 GB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.3815, allocations: 487 kB / 0.5125 GB, free: 42.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.722e-05/0.3816, allocations: 110.2 kB / 0.5126 GB, free: 42.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.3829, allocations: 322.9 kB / 0.5129 GB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.3831, allocations: 143.3 kB / 0.5131 GB, free: 42.12 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.001061/0.3842, allocations: 0.8616 MB / 0.5139 GB, free: 41.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.3843, allocations: 228.5 kB / 0.5141 GB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.3845, allocations: 234.7 kB / 0.5144 GB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/0.3845, allocations: 180.9 kB / 0.5145 GB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.72e-05/0.3846, allocations: 178.3 kB / 0.5147 GB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/0.3846, allocations: 182.8 kB / 0.5149 GB, free: 40.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.3864, allocations: 1.473 MB / 0.5163 GB, free: 39.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/0.3864, allocations: 114.5 kB / 0.5164 GB, free: 39.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.3864, allocations: 102.2 kB / 0.5165 GB, free: 39.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.979e-05/0.3865, allocations: 178.2 kB / 0.5167 GB, free: 39.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.3865, allocations: 183.6 kB / 0.5169 GB, free: 39.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.731e-05/0.3865, allocations: 181.7 kB / 0.517 GB, free: 39.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.714e-05/0.3866, allocations: 182.3 kB / 0.5172 GB, free: 39.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.3868, allocations: 433.1 kB / 0.5176 GB, free: 38.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.3871, allocations: 297.2 kB / 0.5179 GB, free: 38.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.3872, allocations: 178.9 kB / 0.5181 GB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.3875, allocations: 111.2 kB / 0.5182 GB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.3875, allocations: 182.1 kB / 0.5184 GB, free: 37.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3875, allocations: 102.9 kB / 0.5184 GB, free: 37.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001273/0.3888, allocations: 1.019 MB / 0.5194 GB, free: 37.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.21e-07/0.3888, allocations: 0 / 0.5194 GB, free: 37.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00175/0.3906, allocations: 436 kB / 0.5199 GB, free: 37.28 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.0001309/0.3907, allocations: 173.7 kB / 0.52 GB, free: 37.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.392, allocations: 0.9027 MB / 0.5209 GB, free: 36.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.392, allocations: 1.406 kB / 0.5209 GB, free: 36.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.392, allocations: 2.109 kB / 0.5209 GB, free: 36.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/0.3927, allocations: 0.5745 MB / 0.5215 GB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/0.3966, allocations: 2.807 MB / 0.5242 GB, free: 34.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.3979, allocations: 1.574 MB / 0.5258 GB, free: 34.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001259/0.3992, allocations: 497 kB / 0.5262 GB, free: 33.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.3993, allocations: 80.56 kB / 0.5263 GB, free: 33.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3993, allocations: 0 / 0.5263 GB, free: 33.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01533/0.4147, allocations: 8.393 MB / 0.5345 GB, free: 28.99 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/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