Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 195.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008226/0.0008224, allocations: 99.19 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.332/0.332, allocations: 45 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002973, allocations: 8 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3048, allocations: 63.09 MB / 0.5214 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.02522/0.33, allocations: 36.54 MB / 0.5571 GB, free: 12.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.3461, allocations: 8.808 MB / 0.5657 GB, free: 5.781 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005952/0.3521, allocations: 160.5 kB / 0.5658 GB, free: 5.762 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.3527, allocations: 192.7 kB / 0.566 GB, free: 5.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.3538, allocations: 447.6 kB / 0.5664 GB, free: 5.426 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.354, allocations: 71.39 kB / 0.5665 GB, free: 5.395 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.3555, allocations: 1.619 MB / 0.5681 GB, free: 4.855 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.3579, allocations: 2.179 MB / 0.5702 GB, free: 3.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005182/0.3584, allocations: 397 kB / 0.5706 GB, free: 3.395 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006344/0.359, allocations: 0.5428 MB / 0.5711 GB, free: 3.074 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.477e-05/0.3591, allocations: 48.91 kB / 0.5711 GB, free: 3.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.3594, allocations: 60.98 kB / 0.5712 GB, free: 3.051 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005133/0.3599, allocations: 0.6363 MB / 0.5718 GB, free: 2.711 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.3604, allocations: 0.7661 MB / 0.5726 GB, free: 2.059 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.3617, allocations: 2.13 MB / 0.5747 GB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3617, allocations: 7.938 kB / 0.5747 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3618, allocations: 0 / 0.5747 GB, free: 15.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.3618, allocations: 0 / 0.5747 GB, free: 15.91 MB / 394.7 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.001856/0.3636, allocations: 1.62 MB / 0.5762 GB, free: 14.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3637, allocations: 12.03 kB / 0.5763 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004674/0.3642, allocations: 214.2 kB / 0.5765 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009197/0.3651, allocations: 0.7225 MB / 0.5772 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.3652, allocations: 111.4 kB / 0.5773 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.3654, allocations: 156 kB / 0.5774 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/0.3688, allocations: 3.364 MB / 0.5807 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-05/0.3689, allocations: 11.88 kB / 0.5807 GB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.369, allocations: 75.94 kB / 0.5808 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006167/0.3696, allocations: 0.6226 MB / 0.5814 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.3721, allocations: 1.842 MB / 0.5832 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009538/0.3817, allocations: 13.53 MB / 0.5964 GB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.851e-05/0.3818, allocations: 173.1 kB / 0.5966 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.3818, allocations: 80.14 kB / 0.5966 GB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.3819, allocations: 83.2 kB / 0.5967 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.3819, allocations: 113.8 kB / 0.5968 GB, free: 8.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.825e-06/0.3819, allocations: 0 / 0.5968 GB, free: 8.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001823/0.3821, allocations: 152 kB / 0.597 GB, free: 8.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.3822, allocations: 130.7 kB / 0.5971 GB, free: 8.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.384, allocations: 1.643 MB / 0.5987 GB, free: 6.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.384, allocations: 25.7 kB / 0.5987 GB, free: 6.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007389/0.3847, allocations: 1.355 MB / 0.6001 GB, free: 4.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.3848, allocations: 47.95 kB / 0.6001 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.3848, allocations: 40 kB / 0.6001 GB, free: 4.879 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.3851, allocations: 438.7 kB / 0.6006 GB, free: 4.441 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.3856, allocations: 367.8 kB / 0.6009 GB, free: 4.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.3872, allocations: 1.921 MB / 0.6028 GB, free: 1.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.3894, allocations: 2.5 MB / 0.6052 GB, free: 14.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.511e-05/0.3894, allocations: 20 kB / 0.6052 GB, free: 14.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.0027/0.3921, allocations: 2.099 MB / 0.6073 GB, free: 11.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.3922, allocations: 32 kB / 0.6073 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.776e-05/0.3922, allocations: 56 kB / 0.6074 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.613e-05/0.3923, allocations: 72 kB / 0.6075 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.3934, allocations: 491 kB / 0.6079 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.725e-05/0.3935, allocations: 111.5 kB / 0.608 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.3946, allocations: 324.4 kB / 0.6083 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.3948, allocations: 136.4 kB / 0.6085 GB, free: 10.71 MB / 426.7 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.0009867/0.3957, allocations: 0.8628 MB / 0.6093 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.3959, allocations: 227.3 kB / 0.6095 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.3961, allocations: 228.5 kB / 0.6097 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.605e-05/0.3961, allocations: 188.2 kB / 0.6099 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.5e-05/0.3962, allocations: 184.2 kB / 0.6101 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.373e-05/0.3962, allocations: 176.3 kB / 0.6103 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.3975, allocations: 1.474 MB / 0.6117 GB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/0.3976, allocations: 113 kB / 0.6118 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.3976, allocations: 113 kB / 0.6119 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.087e-05/0.3977, allocations: 180.2 kB / 0.6121 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.3977, allocations: 180.3 kB / 0.6123 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.994e-05/0.3978, allocations: 176.3 kB / 0.6124 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.693e-05/0.3978, allocations: 192.2 kB / 0.6126 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.398, allocations: 429.3 kB / 0.613 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.3983, allocations: 300.4 kB / 0.6133 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.3984, allocations: 180.3 kB / 0.6135 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3987, allocations: 108.9 kB / 0.6136 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.3987, allocations: 184.2 kB / 0.6138 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.3988, allocations: 108.9 kB / 0.6139 GB, free: 4.945 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001103/0.3999, allocations: 1.003 MB / 0.6148 GB, free: 3.945 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3999, allocations: 0 / 0.6148 GB, free: 3.945 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001295/0.4012, allocations: 430.1 kB / 0.6153 GB, free: 3.523 MB / 426.7 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.0001546/0.4014, allocations: 183 kB / 0.6154 GB, free: 3.336 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.4024, allocations: 0.8881 MB / 0.6163 GB, free: 2.461 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4024, allocations: 0 / 0.6163 GB, free: 2.461 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.4024, allocations: 4 kB / 0.6163 GB, free: 2.457 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.4032, allocations: 0.6527 MB / 0.6169 GB, free: 1.797 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.4073, allocations: 3.594 MB / 0.6204 GB, free: 14.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.4086, allocations: 1.576 MB / 0.622 GB, free: 12.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001193/0.4098, allocations: 499.4 kB / 0.6225 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.4099, allocations: 75.44 kB / 0.6225 GB, free: 11.99 MB / 442.7 MB Notification: Performance of SimCode: time 2.364e-06/0.4099, allocations: 4 kB / 0.6225 GB, free: 11.99 MB / 442.7 MB Notification: Performance of Templates: time 0.01664/0.4265, allocations: 8.059 MB / 0.6304 GB, free: 3.969 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches