Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 9.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 76.75 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.116, allocations: 62.45 MB / 479.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.257/0.3731, allocations: 39.94 MB / 0.5077 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.3894, allocations: 7.255 MB / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00853/0.3979, allocations: 162.4 kB / 0.5149 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.4013, allocations: 1.543 MB / 0.5164 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.403, allocations: 449.1 kB / 0.5169 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.4034, allocations: 65.27 kB / 0.5169 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002262/0.4057, allocations: 1.596 MB / 0.5185 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002104/0.4078, allocations: 1.584 MB / 0.52 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008717/0.4087, allocations: 0.498 MB / 0.5205 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.4099, allocations: 0.7378 MB / 0.5212 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.4102, allocations: 111.2 kB / 0.5213 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.4106, allocations: 121.5 kB / 0.5215 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006941/0.4113, allocations: 0.7256 MB / 0.5222 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007159/0.412, allocations: 0.8479 MB / 0.523 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.4138, allocations: 1.796 MB / 0.5247 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4138, allocations: 4 kB / 0.5247 GB, free: 6.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4139, allocations: 0 / 0.5247 GB, free: 6.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.169e-05/0.4139, allocations: 0 / 0.5247 GB, free: 6.695 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.002928/0.4169, allocations: 1.943 MB / 0.5266 GB, free: 5.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.4169, allocations: 11.06 kB / 0.5267 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006564/0.4176, allocations: 210.9 kB / 0.5269 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009971/0.4186, allocations: 0.7169 MB / 0.5276 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.4187, allocations: 120.3 kB / 0.5277 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.4189, allocations: 148.8 kB / 0.5278 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004077/0.423, allocations: 3.385 MB / 0.5311 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.4231, allocations: 14.53 kB / 0.5311 GB, free: 3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.4232, allocations: 76.06 kB / 0.5312 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006413/0.4239, allocations: 0.6163 MB / 0.5318 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/0.4267, allocations: 1.863 MB / 0.5336 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.439, allocations: 13.52 MB / 0.5468 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.4391, allocations: 176.1 kB / 0.547 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.4392, allocations: 84.08 kB / 0.5471 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.4392, allocations: 79.28 kB / 0.5472 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.4393, allocations: 109.8 kB / 0.5473 GB, free: 5.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.304e-06/0.4393, allocations: 1.719 kB / 0.5473 GB, free: 5.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002838/0.4396, allocations: 146 kB / 0.5474 GB, free: 5.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.4396, allocations: 128.7 kB / 0.5475 GB, free: 5.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.4416, allocations: 1.647 MB / 0.5491 GB, free: 4.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4416, allocations: 33.69 kB / 0.5492 GB, free: 4.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008397/0.4425, allocations: 1.355 MB / 0.5505 GB, free: 3.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.4425, allocations: 44.33 kB / 0.5505 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000408/0.4429, allocations: 424.3 kB / 0.5509 GB, free: 2.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4431, allocations: 353.6 kB / 0.5513 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.4436, allocations: 380.5 kB / 0.5516 GB, free: 2.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.4451, allocations: 1.931 MB / 0.5535 GB, free: 15.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/0.4474, allocations: 2.509 MB / 0.556 GB, free: 13.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.737e-05/0.4474, allocations: 16 kB / 0.556 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003227/0.4506, allocations: 2.111 MB / 0.558 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.4507, allocations: 28.22 kB / 0.5581 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.575e-05/0.4508, allocations: 60 kB / 0.5581 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-05/0.4508, allocations: 76 kB / 0.5582 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.4519, allocations: 491 kB / 0.5587 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.84e-05/0.452, allocations: 111.6 kB / 0.5588 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.4535, allocations: 320.5 kB / 0.5591 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.4537, allocations: 136 kB / 0.5592 GB, free: 9.746 MB / 414.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.001231/0.4549, allocations: 0.8667 MB / 0.5601 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.4551, allocations: 231.3 kB / 0.5603 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.4553, allocations: 220.5 kB / 0.5605 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-05/0.4554, allocations: 192.2 kB / 0.5607 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-05/0.4555, allocations: 176.3 kB / 0.5608 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.845e-05/0.4556, allocations: 180.3 kB / 0.561 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.4577, allocations: 1.473 MB / 0.5625 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.034e-05/0.4577, allocations: 108.9 kB / 0.5626 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.4578, allocations: 112.8 kB / 0.5627 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-05/0.4579, allocations: 180.3 kB / 0.5628 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.981e-05/0.4579, allocations: 184.3 kB / 0.563 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.429e-05/0.458, allocations: 183.4 kB / 0.5632 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.988e-05/0.4581, allocations: 184.2 kB / 0.5634 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.4584, allocations: 429.2 kB / 0.5638 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.4588, allocations: 296.4 kB / 0.5641 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.459, allocations: 188.2 kB / 0.5642 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.4593, allocations: 101 kB / 0.5643 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.4594, allocations: 180.2 kB / 0.5645 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.4595, allocations: 105 kB / 0.5646 GB, free: 3.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001433/0.4609, allocations: 1.014 MB / 0.5656 GB, free: 2.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4609, allocations: 0 / 0.5656 GB, free: 2.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00183/0.4627, allocations: 434.2 kB / 0.566 GB, free: 2.555 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.0001728/0.4629, allocations: 167.1 kB / 0.5662 GB, free: 2.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.4644, allocations: 0.9033 MB / 0.567 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4645, allocations: 0 / 0.567 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.108e-06/0.4645, allocations: 352 / 0.567 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4655, allocations: 0.6482 MB / 0.5677 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/0.4717, allocations: 3.748 MB / 0.5713 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/0.4734, allocations: 1.576 MB / 0.5729 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.4737, allocations: 95.44 kB / 0.573 GB, free: 11.36 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4737, allocations: 0 / 0.573 GB, free: 11.36 MB / 430.1 MB Notification: Performance of Templates: time 0.02881/0.5025, allocations: 17.68 MB / 0.5902 GB, free: 9.695 MB / 446.1 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/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_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches