Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.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.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, 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.293/1.293, allocations: 222.9 MB / 241.6 MB, free: 11 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.001019/0.001019, allocations: 105.3 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.3586/0.3586, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009746/0.0009746, allocations: 55.91 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2902, allocations: 60.8 MB / 0.5064 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01216/0.3024, allocations: 17.28 MB / 0.5233 GB, free: 26.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008342/0.3108, allocations: 4.09 MB / 0.5273 GB, free: 23.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.3142, allocations: 64.12 kB / 0.5273 GB, free: 23.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.3162, allocations: 1.022 MB / 0.5283 GB, free: 22.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.3181, allocations: 0.7995 MB / 0.5291 GB, free: 22.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.3188, allocations: 276.1 kB / 0.5294 GB, free: 22.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002155/0.3209, allocations: 2.778 MB / 0.5321 GB, free: 21.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.3221, allocations: 1.265 MB / 0.5333 GB, free: 21.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005565/0.3226, allocations: 0.6437 MB / 0.5339 GB, free: 20.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008948/0.3235, allocations: 1.053 MB / 0.535 GB, free: 20.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.3237, allocations: 99.56 kB / 0.5351 GB, free: 20.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009541/0.3247, allocations: 0.7408 MB / 0.5358 GB, free: 20.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000531/0.3252, allocations: 0.9194 MB / 0.5367 GB, free: 20.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006812/0.3259, allocations: 1.126 MB / 0.5378 GB, free: 19.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.3282, allocations: 3.546 MB / 0.5412 GB, free: 17.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3282, allocations: 2.906 kB / 0.5412 GB, free: 17.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3282, allocations: 0 / 0.5412 GB, free: 17.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.288e-05/0.3283, allocations: 0 / 0.5412 GB, free: 17.96 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.003363/0.3317, allocations: 2.662 MB / 0.5438 GB, free: 16.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3317, allocations: 9.781 kB / 0.5439 GB, free: 16.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005298/0.337, allocations: 1.567 MB / 0.5454 GB, free: 16.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.3393, allocations: 1.068 MB / 0.5464 GB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-05/0.3394, allocations: 115.6 kB / 0.5465 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003285/0.3397, allocations: 158 kB / 0.5467 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008978/0.3487, allocations: 6.194 MB / 0.5527 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-05/0.3488, allocations: 27.97 kB / 0.5528 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.349, allocations: 77.98 kB / 0.5528 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00277/0.3518, allocations: 1.44 MB / 0.5542 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009071/0.3609, allocations: 5.395 MB / 0.5595 GB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02554/0.3865, allocations: 24.88 MB / 0.5838 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004707/0.3912, allocations: 2.344 MB / 0.5861 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.3924, allocations: 0.9913 MB / 0.5871 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/0.3927, allocations: 323.6 kB / 0.5874 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.3928, allocations: 42.5 kB / 0.5874 GB, free: 11.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.905e-06/0.3928, allocations: 0 / 0.5874 GB, free: 11.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.02104/0.4138, allocations: 8.435 MB / 0.5957 GB, free: 2.898 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.414, allocations: 140.5 kB / 0.5958 GB, free: 2.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/0.4174, allocations: 2.644 MB / 0.5984 GB, free: 64 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.4175, allocations: 41.69 kB / 0.5984 GB, free: 16 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.4188, allocations: 2.016 MB / 0.6004 GB, free: 13.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000499/0.4193, allocations: 446.6 kB / 0.6008 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.4203, allocations: 0.861 MB / 0.6016 GB, free: 12.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4205, allocations: 305.1 kB / 0.6019 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.4223, allocations: 1.336 MB / 0.6032 GB, free: 11.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003834/0.4262, allocations: 4.108 MB / 0.6073 GB, free: 5.492 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006329/0.4325, allocations: 5.945 MB / 0.6131 GB, free: 14.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.385e-05/0.4326, allocations: 31.94 kB / 0.6131 GB, free: 14.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008902/0.4415, allocations: 5.486 MB / 0.6184 GB, free: 8.645 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/0.4416, allocations: 48 kB / 0.6185 GB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.421e-05/0.4417, allocations: 96 kB / 0.6186 GB, free: 8.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.4428, allocations: 460.8 kB / 0.619 GB, free: 8.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/0.4454, allocations: 0.9786 MB / 0.62 GB, free: 7.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/0.4492, allocations: 3.388 MB / 0.6233 GB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/0.452, allocations: 231.5 kB / 0.6235 GB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000492/0.4525, allocations: 276 kB / 0.6238 GB, free: 3.055 MB / 442.7 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.001972/0.4545, allocations: 1.368 MB / 0.6251 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/0.4549, allocations: 217.2 kB / 0.6253 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.4572, allocations: 1.33 MB / 0.6266 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.4572, allocations: 12 kB / 0.6266 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.4572, allocations: 7.984 kB / 0.6266 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4573, allocations: 3.984 kB / 0.6266 GB, free: 92 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007855/0.4651, allocations: 4.226 MB / 0.6308 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.4652, allocations: 4 kB / 0.6308 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/0.4658, allocations: 147.8 kB / 0.6309 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008647/0.4667, allocations: 316.5 kB / 0.6312 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/0.4668, allocations: 16 kB / 0.6312 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/0.47, allocations: 2.827 MB / 0.634 GB, free: 8.363 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.47, allocations: 7.969 kB / 0.634 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02627/0.4963, allocations: 16.15 MB / 0.6498 GB, free: 7.887 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000481/0.4968, allocations: 282.2 kB / 0.65 GB, free: 7.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.497, allocations: 16 kB / 0.6501 GB, free: 7.574 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007686/0.4978, allocations: 51.94 kB / 0.6501 GB, free: 7.523 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.498, allocations: 56.36 kB / 0.6502 GB, free: 7.469 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.952e-05/0.4981, allocations: 32 kB / 0.6502 GB, free: 7.438 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002618/0.5007, allocations: 1.633 MB / 0.6518 GB, free: 5.793 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5007, allocations: 3.938 kB / 0.6518 GB, free: 5.789 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003535/0.5043, allocations: 0.7734 MB / 0.6525 GB, free: 5.016 MB / 474.7 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.0003539/0.5046, allocations: 141.2 kB / 0.6527 GB, free: 4.871 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00489/0.5095, allocations: 3.217 MB / 0.6558 GB, free: 1.664 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5096, allocations: 0 / 0.6558 GB, free: 1.664 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.5107, allocations: 0.8642 MB / 0.6567 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.5122, allocations: 199.4 kB / 0.6569 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.5247, allocations: 7.511 MB / 0.6642 GB, free: 9.012 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002501/0.5273, allocations: 2.21 MB / 0.6663 GB, free: 6.766 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003377/0.5307, allocations: 1.399 MB / 0.6677 GB, free: 5.359 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.5311, allocations: 159.4 kB / 0.6679 GB, free: 5.203 MB / 490.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5311, allocations: 0 / 0.6679 GB, free: 5.203 MB / 490.7 MB Notification: Performance of Templates: time 0.24/0.7712, allocations: 23.26 MB / 0.6906 GB, free: 145.4 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches