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.01011/0.01011, allocations: 100.3 kB / 15.87 MB, free: 6.309 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.001969/0.001969, allocations: 197.5 kB / 16.79 MB, free: 6.238 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.652/1.652, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.419/0.419, allocations: 43.51 MB / 313.5 MB, free: 8.27 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.001601/0.001601, allocations: 67.12 kB / 382 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1345, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.2841/0.4186, allocations: 17.29 MB / 457.1 MB, free: 37.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009794/0.4285, allocations: 4.101 MB / 461.2 MB, free: 37.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003853/0.4324, allocations: 65.78 kB / 461.3 MB, free: 37.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.4349, allocations: 1.008 MB / 462.3 MB, free: 37.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.4373, allocations: 0.7943 MB / 463.1 MB, free: 37.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008405/0.4382, allocations: 270.5 kB / 463.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003021/0.4412, allocations: 2.771 MB / 466.1 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.4428, allocations: 1.27 MB / 467.4 MB, free: 36.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009291/0.4437, allocations: 0.6424 MB / 468 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.4449, allocations: 1.06 MB / 469.1 MB, free: 35.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.4451, allocations: 94.78 kB / 469.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.4464, allocations: 0.7225 MB / 469.9 MB, free: 35.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007071/0.4471, allocations: 0.9291 MB / 470.8 MB, free: 35.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008595/0.448, allocations: 1.121 MB / 471.9 MB, free: 34.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00366/0.4516, allocations: 3.549 MB / 475.5 MB, free: 33.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.4517, allocations: 0 / 475.5 MB, free: 33.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4517, allocations: 0 / 475.5 MB, free: 33.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.08e-05/0.4517, allocations: 0 / 475.5 MB, free: 33.31 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.004575/0.4563, allocations: 2.664 MB / 478.2 MB, free: 31.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.4564, allocations: 11.5 kB / 478.2 MB, free: 31.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004724/0.4611, allocations: 1.564 MB / 479.7 MB, free: 31.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.4629, allocations: 1.075 MB / 480.8 MB, free: 30.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.919e-05/0.463, allocations: 119.7 kB / 480.9 MB, free: 30.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002833/0.4633, allocations: 157.7 kB / 481.1 MB, free: 30.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.4735, allocations: 6.177 MB / 487.3 MB, free: 27.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.764e-05/0.4736, allocations: 36.39 kB / 487.3 MB, free: 27.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.4738, allocations: 77.81 kB / 487.4 MB, free: 27.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002795/0.4766, allocations: 1.442 MB / 488.8 MB, free: 27.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/0.49, allocations: 5.391 MB / 494.2 MB, free: 25.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0309/0.5209, allocations: 24.87 MB / 0.5069 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004356/0.5253, allocations: 2.345 MB / 0.5092 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.5265, allocations: 0.9865 MB / 0.5102 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/0.5268, allocations: 334 kB / 0.5105 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.5269, allocations: 43.16 kB / 0.5105 GB, free: 20.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.276e-06/0.5269, allocations: 0 / 0.5105 GB, free: 20.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02159/0.5485, allocations: 8.438 MB / 0.5188 GB, free: 13.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.5487, allocations: 140.5 kB / 0.5189 GB, free: 13.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/0.5528, allocations: 2.644 MB / 0.5215 GB, free: 10.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.553, allocations: 40.52 kB / 0.5215 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/0.5549, allocations: 2.023 MB / 0.5235 GB, free: 8.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005723/0.5555, allocations: 440 kB / 0.5239 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001371/0.5569, allocations: 0.8649 MB / 0.5248 GB, free: 7.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.5571, allocations: 305.1 kB / 0.525 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.5589, allocations: 1.328 MB / 0.5263 GB, free: 5.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004598/0.5635, allocations: 4.112 MB / 0.5304 GB, free: 68 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0075/0.5711, allocations: 5.931 MB / 0.5362 GB, free: 8.758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.465e-05/0.5712, allocations: 28 kB / 0.5362 GB, free: 8.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00994/0.5811, allocations: 5.497 MB / 0.5415 GB, free: 3.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.5812, allocations: 48 kB / 0.5416 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.77e-05/0.5813, allocations: 104.9 kB / 0.5417 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.5824, allocations: 460.5 kB / 0.5421 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002693/0.5851, allocations: 0.9741 MB / 0.5431 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00415/0.5893, allocations: 3.408 MB / 0.5464 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/0.5925, allocations: 230.7 kB / 0.5466 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/0.5929, allocations: 272 kB / 0.5469 GB, free: 13.63 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.002204/0.5951, allocations: 1.36 MB / 0.5482 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004084/0.5955, allocations: 217.1 kB / 0.5484 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.5978, allocations: 1.33 MB / 0.5497 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.5978, allocations: 12 kB / 0.5497 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5978, allocations: 4 kB / 0.5497 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.5978, allocations: 3.984 kB / 0.5497 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007174/0.605, allocations: 4.249 MB / 0.5539 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.6051, allocations: 3.938 kB / 0.5539 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.6057, allocations: 135.8 kB / 0.554 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008536/0.6065, allocations: 316.5 kB / 0.5543 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/0.6066, allocations: 16 kB / 0.5543 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003048/0.6097, allocations: 2.822 MB / 0.5571 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.6097, allocations: 7.875 kB / 0.5571 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004093/0.6138, allocations: 3.058 MB / 0.5601 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009291/0.6147, allocations: 410.1 kB / 0.5605 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.6149, allocations: 20 kB / 0.5605 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007063/0.6157, allocations: 51.94 kB / 0.5606 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.6158, allocations: 54.58 kB / 0.5606 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.527e-05/0.6159, allocations: 31.98 kB / 0.5606 GB, free: 15.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002557/0.6184, allocations: 1.625 MB / 0.5622 GB, free: 13.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6185, allocations: 3.938 kB / 0.5622 GB, free: 13.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003474/0.6219, allocations: 0.6093 MB / 0.5628 GB, free: 13.06 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.0003951/0.6223, allocations: 149.8 kB / 0.563 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00538/0.6277, allocations: 3.211 MB / 0.5661 GB, free: 9.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6278, allocations: 0 / 0.5661 GB, free: 9.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.6291, allocations: 0.8661 MB / 0.5669 GB, free: 8.832 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.631, allocations: 200.9 kB / 0.5671 GB, free: 8.633 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.6423, allocations: 6.642 MB / 0.5736 GB, free: 1.961 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003499/0.6459, allocations: 2.183 MB / 0.5758 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003828/0.6497, allocations: 1.383 MB / 0.5771 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.6502, allocations: 163.4 kB / 0.5773 GB, free: 14.19 MB / 462.1 MB Notification: Performance of SimCode: time 1.533e-06/0.6502, allocations: 0 / 0.5773 GB, free: 14.19 MB / 462.1 MB Notification: Performance of Templates: time 0.04213/0.6924, allocations: 19.58 MB / 0.5964 GB, free: 10.7 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