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.001574/0.001574, allocations: 110.6 kB / 18.46 MB, free: 4.617 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.002049/0.002049, allocations: 187.1 kB / 19.39 MB, free: 3.695 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.502/1.502, allocations: 222.9 MB / 243.1 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.2153/0.2153, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3806, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009783/0.3904, allocations: 8.725 MB / 0.5281 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005578/0.396, allocations: 2.254 MB / 0.5303 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000914/0.397, allocations: 40.91 kB / 0.5303 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002971/0.3999, allocations: 1.523 MB / 0.5318 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.4012, allocations: 0.4959 MB / 0.5323 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.4015, allocations: 71.84 kB / 0.5324 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.4027, allocations: 0.9454 MB / 0.5333 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.4043, allocations: 1.499 MB / 0.5347 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006627/0.405, allocations: 0.5427 MB / 0.5353 GB, free: 8.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008334/0.4058, allocations: 0.6819 MB / 0.5359 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.4061, allocations: 118.4 kB / 0.5361 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.4064, allocations: 129.2 kB / 0.5362 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007321/0.4072, allocations: 0.7291 MB / 0.5369 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008364/0.408, allocations: 0.8624 MB / 0.5377 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.4105, allocations: 2.345 MB / 0.54 GB, free: 5.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4105, allocations: 0 / 0.54 GB, free: 5.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4105, allocations: 0 / 0.54 GB, free: 5.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.756e-05/0.4106, allocations: 4 kB / 0.54 GB, free: 5.578 MB / 398.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.004264/0.4149, allocations: 1.957 MB / 0.5419 GB, free: 4.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.103e-05/0.415, allocations: 9.031 kB / 0.5419 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.416, allocations: 208.8 kB / 0.5421 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.4179, allocations: 0.7293 MB / 0.5429 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.418, allocations: 120.3 kB / 0.543 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002862/0.4183, allocations: 153.2 kB / 0.5431 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006771/0.4251, allocations: 3.379 MB / 0.5464 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.699e-05/0.4252, allocations: 15.88 kB / 0.5464 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.4255, allocations: 72.03 kB / 0.5465 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001159/0.4266, allocations: 0.6226 MB / 0.5471 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004956/0.4316, allocations: 1.858 MB / 0.5489 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01925/0.4509, allocations: 13.48 MB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.4511, allocations: 173.1 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.4511, allocations: 80.14 kB / 0.5623 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.4512, allocations: 83.22 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.014e-05/0.4513, allocations: 105.8 kB / 0.5625 GB, free: 15.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 3.457e-06/0.4513, allocations: 0 / 0.5625 GB, free: 15.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0004343/0.4517, allocations: 148.1 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.4518, allocations: 55.34 kB / 0.5627 GB, free: 14.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.455, allocations: 1.655 MB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.455, allocations: 29.7 kB / 0.5643 GB, free: 13.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.4564, allocations: 1.355 MB / 0.5657 GB, free: 11.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.4565, allocations: 51.95 kB / 0.5657 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007029/0.4572, allocations: 422.8 kB / 0.5661 GB, free: 11.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.4575, allocations: 357.9 kB / 0.5665 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008716/0.4583, allocations: 371.8 kB / 0.5668 GB, free: 10.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002806/0.4612, allocations: 1.929 MB / 0.5687 GB, free: 7.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/0.4651, allocations: 2.511 MB / 0.5711 GB, free: 4.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.432e-05/0.4651, allocations: 16 kB / 0.5712 GB, free: 4.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005099/0.4702, allocations: 2.122 MB / 0.5732 GB, free: 2.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.226e-05/0.4703, allocations: 29 kB / 0.5733 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.772e-05/0.4704, allocations: 56 kB / 0.5733 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.4706, allocations: 80 kB / 0.5734 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.4725, allocations: 483.1 kB / 0.5739 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001347/0.4726, allocations: 111.6 kB / 0.574 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.475, allocations: 324.4 kB / 0.5743 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/0.4753, allocations: 136 kB / 0.5744 GB, free: 1.25 MB / 430.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.001844/0.4771, allocations: 0.8666 MB / 0.5752 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.4774, allocations: 231.3 kB / 0.5755 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.4777, allocations: 228.5 kB / 0.5757 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-05/0.4778, allocations: 180.2 kB / 0.5759 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.668e-05/0.4779, allocations: 105 kB / 0.576 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.4783, allocations: 296.6 kB / 0.5762 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.4786, allocations: 184.3 kB / 0.5764 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.4791, allocations: 101 kB / 0.5765 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/0.4792, allocations: 184.2 kB / 0.5767 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001142/0.4793, allocations: 267.5 kB / 0.5769 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003753/0.4797, allocations: 0.4886 MB / 0.5774 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.522e-05/0.4798, allocations: 108.9 kB / 0.5775 GB, free: 13.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00199/0.4818, allocations: 1.022 MB / 0.5785 GB, free: 12.9 MB / 446.1 MB Notification: Performance of Backend: time 8.52e-07/0.4818, allocations: 0 / 0.5785 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002616/0.4844, allocations: 0.9726 MB / 0.5795 GB, free: 11.93 MB / 446.1 MB Notification: Performance of SimCode: time 0.006414/0.4908, allocations: 3.685 MB / 0.5831 GB, free: 8.191 MB / 446.1 MB Notification: Performance of Templates: time 0.02093/0.5118, allocations: 9.365 MB / 0.5922 GB, free: 14.87 MB / 462.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