Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 95.31 kB / 15.98 MB, free: 6.344 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.001106/0.001106, allocations: 195.8 kB / 16.9 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3926/0.3926, allocations: 43.5 MB / 313.6 MB, free: 8.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002144, allocations: 67.89 kB / 382.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1399, allocations: 57.78 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.2649/0.4048, allocations: 17.28 MB / 457.3 MB, free: 37.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009185/0.414, allocations: 4.053 MB / 461.3 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.4173, allocations: 68.66 kB / 461.4 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.4195, allocations: 0.9924 MB / 462.4 MB, free: 37.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.4219, allocations: 0.7797 MB / 463.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009498/0.4229, allocations: 279 kB / 463.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002567/0.4255, allocations: 1.932 MB / 465.4 MB, free: 36.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.427, allocations: 1.346 MB / 466.7 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009069/0.4279, allocations: 0.7296 MB / 467.5 MB, free: 35.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.4291, allocations: 1.103 MB / 468.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.4293, allocations: 126.3 kB / 468.7 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.4306, allocations: 0.7262 MB / 469.4 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007201/0.4314, allocations: 0.9613 MB / 470.4 MB, free: 35.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008046/0.4322, allocations: 1.157 MB / 471.5 MB, free: 34.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003351/0.4355, allocations: 3.602 MB / 475.1 MB, free: 33.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4356, allocations: 0 / 475.1 MB, free: 33.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4356, allocations: 0 / 475.1 MB, free: 33.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.261e-05/0.4356, allocations: 3.938 kB / 475.1 MB, free: 33.08 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.004565/0.4402, allocations: 2.656 MB / 477.8 MB, free: 31.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/0.4403, allocations: 17.67 kB / 477.8 MB, free: 31.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004558/0.4448, allocations: 1.564 MB / 479.4 MB, free: 31.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.4466, allocations: 1.074 MB / 480.4 MB, free: 30.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.313e-05/0.4467, allocations: 118.5 kB / 480.6 MB, free: 30.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.447, allocations: 157.1 kB / 480.7 MB, free: 30.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008901/0.4559, allocations: 6.187 MB / 486.9 MB, free: 27.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.329e-05/0.456, allocations: 27.91 kB / 486.9 MB, free: 27.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.4562, allocations: 79.34 kB / 487 MB, free: 27.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002883/0.4591, allocations: 1.449 MB / 488.5 MB, free: 27.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.4704, allocations: 5.381 MB / 493.8 MB, free: 25.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0276/0.498, allocations: 24.88 MB / 0.5066 GB, free: 23.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004277/0.5023, allocations: 2.337 MB / 0.5088 GB, free: 21.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.5035, allocations: 0.9885 MB / 0.5098 GB, free: 21.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003121/0.5039, allocations: 331 kB / 0.5101 GB, free: 20.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.5039, allocations: 43.59 kB / 0.5102 GB, free: 20.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.888e-06/0.5039, allocations: 0 / 0.5102 GB, free: 20.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02175/0.5257, allocations: 8.449 MB / 0.5184 GB, free: 13.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.5258, allocations: 140.5 kB / 0.5185 GB, free: 13.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005562/0.5314, allocations: 2.632 MB / 0.5211 GB, free: 11.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002292/0.5316, allocations: 43.89 kB / 0.5212 GB, free: 11.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/0.5339, allocations: 2.026 MB / 0.5231 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008417/0.5348, allocations: 437.2 kB / 0.5236 GB, free: 8.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00193/0.5367, allocations: 0.8649 MB / 0.5244 GB, free: 7.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5368, allocations: 301.1 kB / 0.5247 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003539/0.5404, allocations: 1.332 MB / 0.526 GB, free: 6.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006945/0.5474, allocations: 4.108 MB / 0.53 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/0.5583, allocations: 5.939 MB / 0.5358 GB, free: 9.277 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/0.5584, allocations: 31.94 kB / 0.5358 GB, free: 9.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01614/0.5746, allocations: 5.494 MB / 0.5412 GB, free: 3.746 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.37e-05/0.5747, allocations: 48 kB / 0.5412 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/0.5749, allocations: 100.2 kB / 0.5413 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/0.5765, allocations: 461.4 kB / 0.5418 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004747/0.5813, allocations: 0.9824 MB / 0.5427 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/0.587, allocations: 3.667 MB / 0.5463 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/0.5901, allocations: 227.7 kB / 0.5465 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004911/0.5906, allocations: 272 kB / 0.5468 GB, free: 13.88 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002379/0.593, allocations: 1.37 MB / 0.5481 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005675/0.5936, allocations: 221 kB / 0.5483 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.596, allocations: 1.326 MB / 0.5496 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.596, allocations: 12 kB / 0.5496 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.596, allocations: 0 / 0.5496 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.596, allocations: 7.984 kB / 0.5497 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009534/0.6056, allocations: 4.246 MB / 0.5538 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.6056, allocations: 0 / 0.5538 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009179/0.6066, allocations: 143.8 kB / 0.5539 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.6078, allocations: 312.8 kB / 0.5542 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.932e-05/0.6079, allocations: 16 kB / 0.5543 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005326/0.6132, allocations: 3.04 MB / 0.5572 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.287e-05/0.6133, allocations: 0 / 0.5572 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00678/0.6201, allocations: 3.07 MB / 0.5602 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.6214, allocations: 410.1 kB / 0.5606 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003922/0.6218, allocations: 16 kB / 0.5606 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.623, allocations: 51.06 kB / 0.5607 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.6233, allocations: 48.36 kB / 0.5607 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.6234, allocations: 28 kB / 0.5607 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003516/0.6269, allocations: 1.637 MB / 0.5623 GB, free: 13.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.627, allocations: 64 / 0.5623 GB, free: 13.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005403/0.6324, allocations: 0.6054 MB / 0.5629 GB, free: 13.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003956/0.6328, allocations: 137.1 kB / 0.5631 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00781/0.6406, allocations: 3.468 MB / 0.5665 GB, free: 9.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6407, allocations: 4 kB / 0.5665 GB, free: 9.484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.6423, allocations: 0.8661 MB / 0.5673 GB, free: 8.605 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.6446, allocations: 211.3 kB / 0.5675 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.6563, allocations: 6.65 MB / 0.574 GB, free: 1.719 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/0.6585, allocations: 2.175 MB / 0.5761 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003145/0.6616, allocations: 1.387 MB / 0.5775 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/0.6621, allocations: 151.4 kB / 0.5776 GB, free: 13.96 MB / 462.1 MB Notification: Performance of SimCode: time 2.886e-06/0.6621, allocations: 0 / 0.5776 GB, free: 13.96 MB / 462.1 MB Notification: Performance of Templates: time 0.04172/0.7038, allocations: 20.28 MB / 0.5974 GB, free: 9.773 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches