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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.0009612, allocations: 101.4 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3535/0.3535, allocations: 44.13 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 51.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3981, allocations: 60.8 MB / 0.5064 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.02912/0.4272, allocations: 40.21 MB / 0.5457 GB, free: 9.422 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01925/0.4465, allocations: 7.325 MB / 0.5528 GB, free: 4.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01029/0.4568, allocations: 159.9 kB / 0.553 GB, free: 4.527 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003582/0.4605, allocations: 1.522 MB / 0.5544 GB, free: 3.801 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.4622, allocations: 446.9 kB / 0.5549 GB, free: 3.559 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.4625, allocations: 65.33 kB / 0.5549 GB, free: 3.527 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.464, allocations: 1.635 MB / 0.5565 GB, free: 2.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.4657, allocations: 1.576 MB / 0.5581 GB, free: 2.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006553/0.4664, allocations: 0.5048 MB / 0.5586 GB, free: 2.152 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.4674, allocations: 0.7552 MB / 0.5593 GB, free: 1.828 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.4677, allocations: 105.4 kB / 0.5594 GB, free: 1.828 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.4681, allocations: 122.3 kB / 0.5595 GB, free: 1.812 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008488/0.469, allocations: 0.7287 MB / 0.5602 GB, free: 1.555 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009655/0.47, allocations: 0.8543 MB / 0.5611 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003301/0.4733, allocations: 2.214 MB / 0.5632 GB, free: 108 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.4733, allocations: 1.969 kB / 0.5632 GB, free: 108 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4733, allocations: 0 / 0.5632 GB, free: 108 kB / 378.7 MB Notification: Performance of Transformations before backend: time 9.02e-05/0.4735, allocations: 0 / 0.5632 GB, free: 108 kB / 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.005124/0.4786, allocations: 1.962 MB / 0.5651 GB, free: 14.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/0.4787, allocations: 9.594 kB / 0.5652 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009492/0.4796, allocations: 213.5 kB / 0.5654 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.4815, allocations: 0.7245 MB / 0.5661 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.4816, allocations: 115.6 kB / 0.5662 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003105/0.4819, allocations: 154.4 kB / 0.5663 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007182/0.4891, allocations: 3.381 MB / 0.5696 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.047e-05/0.4892, allocations: 13.84 kB / 0.5696 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.4894, allocations: 73.94 kB / 0.5697 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001357/0.4908, allocations: 0.6129 MB / 0.5703 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004674/0.4955, allocations: 1.866 MB / 0.5721 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.5098, allocations: 13.52 MB / 0.5853 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.425e-05/0.5099, allocations: 173.1 kB / 0.5855 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.51, allocations: 88.17 kB / 0.5856 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.51, allocations: 83.22 kB / 0.5857 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.51, allocations: 105.8 kB / 0.5858 GB, free: 13.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.254e-06/0.5101, allocations: 0 / 0.5858 GB, free: 13.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002782/0.5103, allocations: 152.1 kB / 0.5859 GB, free: 13.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.5104, allocations: 134.6 kB / 0.586 GB, free: 13.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.5123, allocations: 1.651 MB / 0.5877 GB, free: 11.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.5123, allocations: 25.7 kB / 0.5877 GB, free: 11.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008071/0.5132, allocations: 1.359 MB / 0.589 GB, free: 10.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.5132, allocations: 43.95 kB / 0.589 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004554/0.5137, allocations: 426.7 kB / 0.5895 GB, free: 9.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5138, allocations: 361.9 kB / 0.5898 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.5143, allocations: 375.8 kB / 0.5902 GB, free: 9.207 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.5158, allocations: 1.921 MB / 0.592 GB, free: 6.469 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/0.5182, allocations: 2.515 MB / 0.5945 GB, free: 3.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.829e-05/0.5183, allocations: 16 kB / 0.5945 GB, free: 3.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003109/0.5214, allocations: 2.111 MB / 0.5966 GB, free: 1.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.5214, allocations: 35.94 kB / 0.5966 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.848e-05/0.5215, allocations: 56 kB / 0.5967 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.879e-05/0.5216, allocations: 72 kB / 0.5967 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.5227, allocations: 487.1 kB / 0.5972 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.159e-05/0.5227, allocations: 115.6 kB / 0.5973 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.5244, allocations: 325.1 kB / 0.5976 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.5245, allocations: 140 kB / 0.5977 GB, free: 15.81 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.001168/0.5257, allocations: 0.8593 MB / 0.5986 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.5259, allocations: 235.3 kB / 0.5988 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.5261, allocations: 224.5 kB / 0.599 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.96e-05/0.5262, allocations: 188.2 kB / 0.5992 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-05/0.5263, allocations: 180.2 kB / 0.5994 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.057e-05/0.5263, allocations: 180.2 kB / 0.5995 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.5279, allocations: 1.477 MB / 0.601 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.201e-05/0.5279, allocations: 108.9 kB / 0.6011 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.528, allocations: 112.9 kB / 0.6012 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.495e-05/0.528, allocations: 180.3 kB / 0.6014 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.5281, allocations: 180.2 kB / 0.6015 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.828e-05/0.5282, allocations: 180.2 kB / 0.6017 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.69e-05/0.5283, allocations: 184.2 kB / 0.6019 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/0.5289, allocations: 1.146 MB / 0.603 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.5292, allocations: 296.5 kB / 0.6033 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.5294, allocations: 180.2 kB / 0.6035 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.5297, allocations: 109 kB / 0.6036 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.5297, allocations: 184.2 kB / 0.6037 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.5298, allocations: 105 kB / 0.6038 GB, free: 9.285 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001216/0.531, allocations: 1.018 MB / 0.6048 GB, free: 8.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.531, allocations: 0 / 0.6048 GB, free: 8.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00181/0.5328, allocations: 438 kB / 0.6053 GB, free: 7.84 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.0001735/0.533, allocations: 174.5 kB / 0.6054 GB, free: 7.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.5343, allocations: 0.8953 MB / 0.6063 GB, free: 6.777 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5343, allocations: 0 / 0.6063 GB, free: 6.777 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.649e-06/0.5343, allocations: 7.938 kB / 0.6063 GB, free: 6.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008075/0.5351, allocations: 0.6469 MB / 0.6069 GB, free: 6.117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.5398, allocations: 3.577 MB / 0.6104 GB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.5411, allocations: 1.58 MB / 0.612 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001253/0.5424, allocations: 495.4 kB / 0.6124 GB, free: 416 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.5425, allocations: 75.44 kB / 0.6125 GB, free: 340 kB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5425, allocations: 0 / 0.6125 GB, free: 340 kB / 426.7 MB Notification: Performance of Templates: time 0.01922/0.5618, allocations: 8.339 MB / 0.6207 GB, free: 8.043 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@2/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