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.0009705/0.0009706, allocations: 92.7 kB / 17.35 MB, free: 6.371 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.001111/0.001111, allocations: 172.1 kB / 18.25 MB, free: 5.523 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.45/1.45, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2327/0.2327, allocations: 44.25 MB / 337.7 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004063, allocations: 11.98 kB / 410.3 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1323, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.03623/0.1685, allocations: 39.1 MB / 0.4994 GB, free: 6.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3261/0.4947, allocations: 7.282 MB / 0.5065 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008473/0.5032, allocations: 163.2 kB / 0.5066 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009515/0.5042, allocations: 185.4 kB / 0.5068 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.506, allocations: 445.8 kB / 0.5072 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.5063, allocations: 63.86 kB / 0.5073 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003162/0.5095, allocations: 1.621 MB / 0.5089 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003314/0.5128, allocations: 1.879 MB / 0.5107 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009598/0.5138, allocations: 366.5 kB / 0.5111 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.515, allocations: 0.5619 MB / 0.5116 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.5152, allocations: 44.88 kB / 0.5117 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.5156, allocations: 64.77 kB / 0.5117 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009874/0.5166, allocations: 0.6436 MB / 0.5123 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009814/0.5176, allocations: 0.773 MB / 0.5131 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.5212, allocations: 2.13 MB / 0.5152 GB, free: 9.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.5212, allocations: 1.406 kB / 0.5152 GB, free: 9.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.669e-06/0.5213, allocations: 0 / 0.5152 GB, free: 9.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.833e-05/0.5213, allocations: 3.938 kB / 0.5152 GB, free: 9.23 MB / 382.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.002997/0.5244, allocations: 1.609 MB / 0.5168 GB, free: 8.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.5244, allocations: 10.09 kB / 0.5168 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.525, allocations: 212.6 kB / 0.517 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.5263, allocations: 0.7218 MB / 0.5177 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.5265, allocations: 119 kB / 0.5178 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/0.5268, allocations: 148.1 kB / 0.5179 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006039/0.5329, allocations: 3.382 MB / 0.5212 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.331e-05/0.533, allocations: 15.66 kB / 0.5212 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.5331, allocations: 77.42 kB / 0.5213 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009558/0.5341, allocations: 0.6159 MB / 0.5219 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004954/0.5391, allocations: 1.863 MB / 0.5237 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.553, allocations: 13.53 MB / 0.537 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.5531, allocations: 172.1 kB / 0.5371 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.5532, allocations: 80.14 kB / 0.5372 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.5532, allocations: 78.22 kB / 0.5373 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.878e-05/0.5533, allocations: 113.8 kB / 0.5374 GB, free: 11.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.5533, allocations: 0 / 0.5374 GB, free: 11.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003322/0.5536, allocations: 151 kB / 0.5375 GB, free: 11.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/0.5537, allocations: 130.7 kB / 0.5376 GB, free: 11.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.5559, allocations: 1.655 MB / 0.5393 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.556, allocations: 28.36 kB / 0.5393 GB, free: 10.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009642/0.5569, allocations: 1.357 MB / 0.5406 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.557, allocations: 44.2 kB / 0.5407 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.5572, allocations: 184.4 kB / 0.5408 GB, free: 9.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5574, allocations: 359.1 kB / 0.5412 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.5579, allocations: 376.7 kB / 0.5415 GB, free: 8.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.5597, allocations: 1.929 MB / 0.5434 GB, free: 6.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002704/0.5624, allocations: 2.509 MB / 0.5459 GB, free: 3.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.794e-05/0.5624, allocations: 16.84 kB / 0.5459 GB, free: 3.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003283/0.5657, allocations: 2.111 MB / 0.5479 GB, free: 2.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.5658, allocations: 39.3 kB / 0.548 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.134e-05/0.5658, allocations: 56.59 kB / 0.548 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.161e-05/0.5659, allocations: 75.75 kB / 0.5481 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.567, allocations: 487.3 kB / 0.5486 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.041e-05/0.5671, allocations: 108.5 kB / 0.5487 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.5685, allocations: 324.7 kB / 0.549 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.5687, allocations: 138.6 kB / 0.5491 GB, free: 2.582 MB / 398.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.001334/0.57, allocations: 0.863 MB / 0.55 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.5702, allocations: 230.8 kB / 0.5502 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.5704, allocations: 232 kB / 0.5504 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.527e-05/0.5705, allocations: 182.4 kB / 0.5506 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.779e-05/0.5706, allocations: 184.4 kB / 0.5508 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.774e-05/0.5706, allocations: 176.3 kB / 0.5509 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.5723, allocations: 1.477 MB / 0.5524 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.685e-05/0.5724, allocations: 111.1 kB / 0.5525 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.5724, allocations: 103.9 kB / 0.5526 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-05/0.5725, allocations: 182.5 kB / 0.5527 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.5726, allocations: 184.3 kB / 0.5529 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.237e-05/0.5727, allocations: 184.9 kB / 0.5531 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.99e-05/0.5727, allocations: 180.3 kB / 0.5533 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.573, allocations: 427.4 kB / 0.5537 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.5733, allocations: 301.7 kB / 0.554 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.5735, allocations: 182.5 kB / 0.5541 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.5738, allocations: 109.6 kB / 0.5542 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.5739, allocations: 182.5 kB / 0.5544 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.5739, allocations: 107.7 kB / 0.5545 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001367/0.5753, allocations: 1.018 MB / 0.5555 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5753, allocations: 2.25 kB / 0.5555 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001764/0.5771, allocations: 430.1 kB / 0.5559 GB, free: 12.69 MB / 414.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.0001952/0.5773, allocations: 182.5 kB / 0.5561 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.5787, allocations: 0.8985 MB / 0.557 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5787, allocations: 0 / 0.557 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.5787, allocations: 2.25 kB / 0.557 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000893/0.5796, allocations: 0.6435 MB / 0.5576 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005117/0.5847, allocations: 3.603 MB / 0.5611 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.5861, allocations: 1.576 MB / 0.5627 GB, free: 5.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001185/0.5873, allocations: 495.4 kB / 0.5631 GB, free: 5.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.5874, allocations: 75.44 kB / 0.5632 GB, free: 5.312 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5874, allocations: 0 / 0.5632 GB, free: 5.312 MB / 414.1 MB Notification: Performance of Templates: time 0.0258/0.6132, allocations: 8.066 MB / 0.5711 GB, free: 13.32 MB / 430.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