Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 175 kB / 17.41 MB, free: 4.391 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.7 MB / 243.9 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008099/0.00081, allocations: 91.64 kB / 295 MB, free: 9.719 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3212/0.3212, allocations: 44.32 MB / 390.5 MB, free: 38.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 8 kB / 463.1 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3412, allocations: 61.9 MB / 0.5127 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0261/0.3674, allocations: 36.53 MB / 0.5484 GB, free: 12.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.382, allocations: 8.456 MB / 0.5567 GB, free: 6.055 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00771/0.3897, allocations: 160.6 kB / 0.5568 GB, free: 6.035 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007972/0.3905, allocations: 188.9 kB / 0.557 GB, free: 5.945 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.392, allocations: 444.5 kB / 0.5574 GB, free: 5.707 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.3924, allocations: 62.42 kB / 0.5575 GB, free: 5.684 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.3946, allocations: 1.633 MB / 0.5591 GB, free: 5.129 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002747/0.3974, allocations: 2.094 MB / 0.5611 GB, free: 4.059 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006744/0.3981, allocations: 395.2 kB / 0.5615 GB, free: 3.902 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008034/0.3989, allocations: 0.5479 MB / 0.562 GB, free: 3.688 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.399, allocations: 44.69 kB / 0.5621 GB, free: 3.688 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.3993, allocations: 56.83 kB / 0.5621 GB, free: 3.676 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006443/0.4, allocations: 0.6353 MB / 0.5627 GB, free: 3.477 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006234/0.4006, allocations: 0.7656 MB / 0.5635 GB, free: 2.926 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.4028, allocations: 2.139 MB / 0.5656 GB, free: 2.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4028, allocations: 4 kB / 0.5656 GB, free: 2.266 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4028, allocations: 0 / 0.5656 GB, free: 2.266 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.471e-05/0.4029, allocations: 1.375 kB / 0.5656 GB, free: 2.266 MB / 378.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.002402/0.4053, allocations: 1.608 MB / 0.5672 GB, free: 1.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4053, allocations: 9.281 kB / 0.5672 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005391/0.4059, allocations: 222.2 kB / 0.5674 GB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009734/0.4068, allocations: 0.7198 MB / 0.5681 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.597e-05/0.407, allocations: 119.8 kB / 0.5682 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.4072, allocations: 149.9 kB / 0.5683 GB, free: 468 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004934/0.4121, allocations: 3.358 MB / 0.5716 GB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.48e-05/0.4122, allocations: 17.81 kB / 0.5716 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.4123, allocations: 74.25 kB / 0.5717 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008999/0.4132, allocations: 0.6164 MB / 0.5723 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004123/0.4173, allocations: 1.837 MB / 0.5741 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.4325, allocations: 13.53 MB / 0.5873 GB, free: 232 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.4326, allocations: 173.1 kB / 0.5875 GB, free: 48 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.4327, allocations: 80.14 kB / 0.5876 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.4328, allocations: 83.16 kB / 0.5876 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.4328, allocations: 109.8 kB / 0.5877 GB, free: 15.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.415e-06/0.4328, allocations: 0 / 0.5877 GB, free: 15.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.000312/0.4331, allocations: 156.1 kB / 0.5879 GB, free: 15.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.4332, allocations: 130.7 kB / 0.588 GB, free: 15.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.4351, allocations: 1.639 MB / 0.5896 GB, free: 13.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.4352, allocations: 25.7 kB / 0.5896 GB, free: 13.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008712/0.436, allocations: 1.355 MB / 0.591 GB, free: 12.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.4361, allocations: 43.95 kB / 0.591 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.4361, allocations: 43.94 kB / 0.591 GB, free: 12.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.4363, allocations: 442.7 kB / 0.5915 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.4368, allocations: 367.8 kB / 0.5918 GB, free: 11.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.4382, allocations: 1.925 MB / 0.5937 GB, free: 8.773 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.4404, allocations: 2.496 MB / 0.5961 GB, free: 5.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.059e-05/0.4404, allocations: 19.94 kB / 0.5962 GB, free: 5.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00293/0.4433, allocations: 2.096 MB / 0.5982 GB, free: 3.355 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.4434, allocations: 31.98 kB / 0.5982 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-05/0.4435, allocations: 60 kB / 0.5983 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.788e-05/0.4435, allocations: 76 kB / 0.5984 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.4446, allocations: 491 kB / 0.5988 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.341e-05/0.4447, allocations: 111.6 kB / 0.5989 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.446, allocations: 320.4 kB / 0.5992 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.4461, allocations: 140 kB / 0.5994 GB, free: 2.148 MB / 410.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.001188/0.4473, allocations: 0.8707 MB / 0.6002 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.4475, allocations: 231.3 kB / 0.6005 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.4477, allocations: 228.5 kB / 0.6007 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-05/0.4477, allocations: 180.2 kB / 0.6008 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.331e-05/0.4478, allocations: 180.3 kB / 0.601 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.228e-05/0.4478, allocations: 180.3 kB / 0.6012 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.4495, allocations: 1.477 MB / 0.6026 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.142e-05/0.4496, allocations: 108.9 kB / 0.6027 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.4496, allocations: 105.1 kB / 0.6028 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.869e-05/0.4497, allocations: 188.3 kB / 0.603 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.292e-05/0.4498, allocations: 180.2 kB / 0.6032 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.587e-05/0.4499, allocations: 180.2 kB / 0.6034 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.804e-05/0.4499, allocations: 176.3 kB / 0.6035 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.4502, allocations: 433.3 kB / 0.6039 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.4505, allocations: 300.4 kB / 0.6042 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.4506, allocations: 184.2 kB / 0.6044 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.4509, allocations: 108.9 kB / 0.6045 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.451, allocations: 184.2 kB / 0.6047 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.451, allocations: 105 kB / 0.6048 GB, free: 12.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001207/0.4522, allocations: 1.007 MB / 0.6058 GB, free: 11.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4522, allocations: 7.938 kB / 0.6058 GB, free: 11.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001529/0.4538, allocations: 430.1 kB / 0.6062 GB, free: 10.95 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.0001773/0.4539, allocations: 179.9 kB / 0.6063 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.4552, allocations: 0.8879 MB / 0.6072 GB, free: 9.891 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4552, allocations: 4.25 kB / 0.6072 GB, free: 9.887 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.4552, allocations: 4 kB / 0.6072 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008539/0.4561, allocations: 0.637 MB / 0.6078 GB, free: 9.238 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/0.4605, allocations: 3.598 MB / 0.6114 GB, free: 5.609 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.4617, allocations: 1.58 MB / 0.6129 GB, free: 3.996 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001137/0.4628, allocations: 487.4 kB / 0.6134 GB, free: 3.516 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/0.4629, allocations: 75.44 kB / 0.6134 GB, free: 3.441 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4629, allocations: 4 kB / 0.6134 GB, free: 3.438 MB / 426.7 MB Notification: Performance of Templates: time 0.01578/0.4787, allocations: 8.076 MB / 0.6213 GB, free: 11.4 MB / 442.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches