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.001304/0.001304, allocations: 111.4 kB / 18.45 MB, free: 4.602 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.001483/0.001483, allocations: 183 kB / 19.38 MB, free: 3.684 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.267/1.267, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1938/0.1938, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.319, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.00844/0.3275, allocations: 8.729 MB / 0.5281 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005094/0.3327, allocations: 2.242 MB / 0.5303 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.3341, allocations: 42.41 kB / 0.5303 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00313/0.3372, allocations: 1.532 MB / 0.5318 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.3386, allocations: 476 kB / 0.5323 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.339, allocations: 75.72 kB / 0.5323 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.3404, allocations: 0.9333 MB / 0.5332 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.3421, allocations: 1.511 MB / 0.5347 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007558/0.3428, allocations: 0.5398 MB / 0.5352 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008661/0.3437, allocations: 0.6772 MB / 0.5359 GB, free: 8.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.3439, allocations: 119.2 kB / 0.536 GB, free: 8.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.3443, allocations: 128.4 kB / 0.5361 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006201/0.3449, allocations: 0.7363 MB / 0.5369 GB, free: 7.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007539/0.3457, allocations: 0.8583 MB / 0.5377 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.3479, allocations: 2.342 MB / 0.54 GB, free: 5.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3479, allocations: 0 / 0.54 GB, free: 5.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3479, allocations: 1.5 kB / 0.54 GB, free: 5.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.909e-05/0.3479, allocations: 4 kB / 0.54 GB, free: 5.594 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.002686/0.3506, allocations: 1.956 MB / 0.5419 GB, free: 4.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3507, allocations: 10.38 kB / 0.5419 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006211/0.3513, allocations: 212 kB / 0.5421 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.3524, allocations: 0.7258 MB / 0.5428 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-05/0.3525, allocations: 121 kB / 0.5429 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.3526, allocations: 152.3 kB / 0.5431 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/0.3566, allocations: 3.382 MB / 0.5464 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.3567, allocations: 15.88 kB / 0.5464 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.3568, allocations: 72.03 kB / 0.5465 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006673/0.3575, allocations: 0.6148 MB / 0.5471 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002739/0.3602, allocations: 1.862 MB / 0.5489 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.3719, allocations: 13.48 MB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.265e-05/0.372, allocations: 169.1 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.372, allocations: 80.14 kB / 0.5623 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.3721, allocations: 83.22 kB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.3721, allocations: 113.8 kB / 0.5625 GB, free: 15.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.144e-06/0.3721, allocations: 0 / 0.5625 GB, free: 15.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002567/0.3724, allocations: 148.1 kB / 0.5626 GB, free: 14.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.3725, allocations: 126.7 kB / 0.5627 GB, free: 14.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.3743, allocations: 1.659 MB / 0.5644 GB, free: 13.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.3744, allocations: 25.7 kB / 0.5644 GB, free: 13.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008075/0.3752, allocations: 1.359 MB / 0.5657 GB, free: 11.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.3752, allocations: 47.95 kB / 0.5658 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004041/0.3756, allocations: 422.8 kB / 0.5662 GB, free: 11.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3758, allocations: 357.9 kB / 0.5665 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.3763, allocations: 367.8 kB / 0.5668 GB, free: 10.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.3777, allocations: 1.933 MB / 0.5687 GB, free: 7.836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.3799, allocations: 2.507 MB / 0.5712 GB, free: 4.527 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/0.3799, allocations: 19.94 kB / 0.5712 GB, free: 4.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002985/0.3829, allocations: 2.115 MB / 0.5733 GB, free: 2.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.383, allocations: 28 kB / 0.5733 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.041e-05/0.383, allocations: 56.09 kB / 0.5733 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.039e-05/0.3831, allocations: 83.94 kB / 0.5734 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.3842, allocations: 487 kB / 0.5739 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.997e-05/0.3842, allocations: 111.6 kB / 0.574 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.3856, allocations: 320.4 kB / 0.5743 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.3857, allocations: 136 kB / 0.5744 GB, free: 1.188 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.00109/0.3868, allocations: 0.8744 MB / 0.5753 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.3871, allocations: 223.3 kB / 0.5755 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.3873, allocations: 232.5 kB / 0.5757 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.514e-05/0.3873, allocations: 180.2 kB / 0.5759 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-05/0.3874, allocations: 184.2 kB / 0.5761 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-05/0.3875, allocations: 184.3 kB / 0.5762 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.3891, allocations: 1.478 MB / 0.5777 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.495e-05/0.3892, allocations: 108.9 kB / 0.5778 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.3892, allocations: 104.9 kB / 0.5779 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.615e-05/0.3893, allocations: 180.3 kB / 0.5781 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.228e-05/0.3894, allocations: 188.2 kB / 0.5782 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-05/0.3894, allocations: 180.3 kB / 0.5784 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-05/0.3895, allocations: 180.2 kB / 0.5786 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.3897, allocations: 429.3 kB / 0.579 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.3901, allocations: 292.4 kB / 0.5793 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.3902, allocations: 188.3 kB / 0.5795 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.3905, allocations: 101 kB / 0.5796 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.3906, allocations: 184.1 kB / 0.5797 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.3907, allocations: 101 kB / 0.5798 GB, free: 11.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001421/0.3921, allocations: 1.022 MB / 0.5808 GB, free: 10.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3921, allocations: 0 / 0.5808 GB, free: 10.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001668/0.3938, allocations: 434.1 kB / 0.5812 GB, free: 9.984 MB / 446.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.0001621/0.394, allocations: 170.5 kB / 0.5814 GB, free: 9.809 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.3953, allocations: 0.9075 MB / 0.5823 GB, free: 8.914 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3953, allocations: 0 / 0.5823 GB, free: 8.914 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.3953, allocations: 0 / 0.5823 GB, free: 8.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008066/0.3961, allocations: 0.575 MB / 0.5828 GB, free: 8.336 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.4004, allocations: 2.941 MB / 0.5857 GB, free: 5.355 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.4016, allocations: 1.579 MB / 0.5873 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.4018, allocations: 91.44 kB / 0.5874 GB, free: 3.652 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4018, allocations: 0 / 0.5874 GB, free: 3.652 MB / 446.1 MB Notification: Performance of Templates: time 0.02573/0.4275, allocations: 17.97 MB / 0.6049 GB, free: 1.703 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