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.000977/0.0009771, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009333/0.0009333, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.385/1.385, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3408/0.3408, allocations: 43.54 MB / 314.5 MB, free: 8.754 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.0005628/0.000563, allocations: 16 kB / 383.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1222, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.2302/0.3524, allocations: 14.74 MB / 457.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008348/0.3609, allocations: 3.971 MB / 461.5 MB, free: 36.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.3632, allocations: 69.78 kB / 461.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.3649, allocations: 0.6956 MB / 462.2 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006017/0.3709, allocations: 2.116 MB / 464.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008534/0.3718, allocations: 209.1 kB / 464.5 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.3738, allocations: 1.106 MB / 465.6 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.3757, allocations: 1.495 MB / 467.1 MB, free: 35.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006826/0.3764, allocations: 0.5403 MB / 467.7 MB, free: 35.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007988/0.3772, allocations: 0.6896 MB / 468.4 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.3774, allocations: 73.81 kB / 468.4 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008938/0.3783, allocations: 0.5722 MB / 469 MB, free: 35.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005353/0.3789, allocations: 0.8065 MB / 469.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.3792, allocations: 486.8 kB / 470.3 MB, free: 35.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.3815, allocations: 2.789 MB / 473.1 MB, free: 34.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3815, allocations: 0 / 473.1 MB, free: 34.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3815, allocations: 0 / 473.1 MB, free: 34.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.698e-05/0.3816, allocations: 3.438 kB / 473.1 MB, free: 34.92 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.003781/0.3854, allocations: 2.274 MB / 475.4 MB, free: 33.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3854, allocations: 13.25 kB / 475.4 MB, free: 33.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005632/0.391, allocations: 1.883 MB / 477.3 MB, free: 33.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.3933, allocations: 1.061 MB / 478.3 MB, free: 33.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.3934, allocations: 112.2 kB / 478.4 MB, free: 33.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/0.3938, allocations: 164.3 kB / 478.6 MB, free: 33.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009096/0.4029, allocations: 6.208 MB / 484.8 MB, free: 31.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-05/0.403, allocations: 27.78 kB / 484.8 MB, free: 31.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.4032, allocations: 78.78 kB / 484.9 MB, free: 31.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002602/0.4059, allocations: 1.443 MB / 486.3 MB, free: 30.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/0.4179, allocations: 5.413 MB / 491.8 MB, free: 29.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02794/0.4459, allocations: 24.89 MB / 0.5045 GB, free: 26.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004143/0.4501, allocations: 2.386 MB / 0.5069 GB, free: 24.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.4504, allocations: 330.7 kB / 0.5072 GB, free: 24.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.4505, allocations: 41.97 kB / 0.5072 GB, free: 24.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 4.549e-06/0.4505, allocations: 4 kB / 0.5072 GB, free: 24.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02157/0.472, allocations: 8.783 MB / 0.5158 GB, free: 18.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.4721, allocations: 140.5 kB / 0.5159 GB, free: 18.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/0.4753, allocations: 2.632 MB / 0.5185 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001866/0.4755, allocations: 37.7 kB / 0.5185 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.4768, allocations: 2.029 MB / 0.5205 GB, free: 13.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005092/0.4773, allocations: 434.6 kB / 0.5209 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.4775, allocations: 88 kB / 0.521 GB, free: 13.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003034/0.4778, allocations: 491.5 kB / 0.5215 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/0.4799, allocations: 1.32 MB / 0.5228 GB, free: 11.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004257/0.4842, allocations: 4.073 MB / 0.5268 GB, free: 5.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003639/0.4878, allocations: 2.298 MB / 0.529 GB, free: 3.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-05/0.4879, allocations: 28 kB / 0.529 GB, free: 3.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00926/0.4972, allocations: 5.451 MB / 0.5344 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.579e-05/0.4973, allocations: 51.59 kB / 0.5344 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/0.4974, allocations: 100 kB / 0.5345 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.4984, allocations: 477.5 kB / 0.535 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002901/0.5013, allocations: 0.9786 MB / 0.5359 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003946/0.5053, allocations: 3.458 MB / 0.5393 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.5085, allocations: 231.6 kB / 0.5395 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000662/0.5092, allocations: 270.6 kB / 0.5398 GB, free: 8.445 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002641/0.5118, allocations: 1.372 MB / 0.5411 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004784/0.5123, allocations: 217.1 kB / 0.5413 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.5147, allocations: 1.318 MB / 0.5426 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/0.5147, allocations: 16 kB / 0.5426 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.5147, allocations: 0 / 0.5426 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.5148, allocations: 11.94 kB / 0.5426 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00898/0.5238, allocations: 4.246 MB / 0.5468 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.5238, allocations: 0 / 0.5468 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007131/0.5245, allocations: 141.2 kB / 0.5469 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008516/0.5254, allocations: 320.5 kB / 0.5472 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.892e-05/0.5255, allocations: 19.95 kB / 0.5472 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003264/0.5288, allocations: 2.891 MB / 0.5501 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5288, allocations: 2.281 kB / 0.5501 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/0.5328, allocations: 3.112 MB / 0.5531 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.534, allocations: 418.1 kB / 0.5535 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.5342, allocations: 18.72 kB / 0.5535 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007436/0.535, allocations: 47.94 kB / 0.5536 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.5351, allocations: 44.38 kB / 0.5536 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/0.5352, allocations: 39.94 kB / 0.5536 GB, free: 9.984 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00274/0.5379, allocations: 1.613 MB / 0.5552 GB, free: 8.359 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.538, allocations: 4.062 kB / 0.5552 GB, free: 8.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003632/0.5416, allocations: 0.5977 MB / 0.5558 GB, free: 7.758 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003949/0.542, allocations: 135.4 kB / 0.5559 GB, free: 7.621 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005098/0.5471, allocations: 3.206 MB / 0.5591 GB, free: 4.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.5472, allocations: 3.938 kB / 0.5591 GB, free: 4.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.5484, allocations: 0.8599 MB / 0.5599 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.5497, allocations: 188.9 kB / 0.5601 GB, free: 3.359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.5609, allocations: 6.423 MB / 0.5664 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/0.5634, allocations: 2.222 MB / 0.5685 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003168/0.5666, allocations: 1.391 MB / 0.5699 GB, free: 9.238 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/0.5671, allocations: 151.4 kB / 0.57 GB, free: 9.09 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5671, allocations: 0 / 0.57 GB, free: 9.09 MB / 446.1 MB Notification: Performance of Templates: time 0.03537/0.6025, allocations: 18.97 MB / 0.5886 GB, free: 6.195 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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