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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 104 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3337/0.3337, allocations: 43.5 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.91 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1163, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01676/0.1331, allocations: 17.29 MB / 0.4925 GB, free: 11.17 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009235/0.1424, allocations: 4.099 MB / 0.4965 GB, free: 7.059 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003522/0.146, allocations: 67.88 kB / 0.4966 GB, free: 6.992 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.1484, allocations: 1.009 MB / 0.4975 GB, free: 5.98 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.1507, allocations: 0.7939 MB / 0.4983 GB, free: 5.184 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.1516, allocations: 279.5 kB / 0.4986 GB, free: 4.91 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003331/0.1549, allocations: 2.789 MB / 0.5013 GB, free: 2.113 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/0.157, allocations: 1.261 MB / 0.5025 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.1583, allocations: 0.6458 MB / 0.5032 GB, free: 180 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2027/0.361, allocations: 1.052 MB / 0.5042 GB, free: 38.07 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006984/0.3618, allocations: 94.25 kB / 0.5043 GB, free: 38.07 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.3637, allocations: 0.7254 MB / 0.505 GB, free: 38.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001725/0.3655, allocations: 0.9265 MB / 0.5059 GB, free: 38.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002759/0.3683, allocations: 1.126 MB / 0.507 GB, free: 37.64 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005211/0.3735, allocations: 3.547 MB / 0.5105 GB, free: 37.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3735, allocations: 0 / 0.5105 GB, free: 37.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3735, allocations: 1.344 kB / 0.5105 GB, free: 37.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001544/0.3737, allocations: 0 / 0.5105 GB, free: 37.11 MB / 394.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.007244/0.381, allocations: 2.663 MB / 0.5131 GB, free: 35.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.381, allocations: 8.562 kB / 0.5131 GB, free: 35.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00475/0.3858, allocations: 1.565 MB / 0.5146 GB, free: 35.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.388, allocations: 1.075 MB / 0.5156 GB, free: 35.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/0.388, allocations: 114.3 kB / 0.5158 GB, free: 35.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/0.3884, allocations: 152.3 kB / 0.5159 GB, free: 35.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00749/0.3959, allocations: 6.187 MB / 0.5219 GB, free: 33.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.193e-05/0.3959, allocations: 31.72 kB / 0.522 GB, free: 33.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.3961, allocations: 78.39 kB / 0.522 GB, free: 33.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001971/0.3981, allocations: 1.438 MB / 0.5234 GB, free: 33.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007515/0.4056, allocations: 5.395 MB / 0.5287 GB, free: 31.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02296/0.4286, allocations: 24.86 MB / 0.553 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004933/0.4336, allocations: 2.346 MB / 0.5553 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.4351, allocations: 0.9944 MB / 0.5563 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006251/0.4357, allocations: 326.4 kB / 0.5566 GB, free: 27.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.4358, allocations: 48.53 kB / 0.5566 GB, free: 27.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.137e-06/0.4358, allocations: 3.094 kB / 0.5566 GB, free: 27.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.02417/0.46, allocations: 8.441 MB / 0.5649 GB, free: 24.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.4601, allocations: 140.8 kB / 0.565 GB, free: 24.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/0.4635, allocations: 2.645 MB / 0.5676 GB, free: 23.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.4636, allocations: 42.83 kB / 0.5676 GB, free: 23.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.4647, allocations: 2.023 MB / 0.5696 GB, free: 21.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/0.465, allocations: 437.3 kB / 0.57 GB, free: 21.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009804/0.466, allocations: 0.8637 MB / 0.5709 GB, free: 20.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.4661, allocations: 301.1 kB / 0.5711 GB, free: 20.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.4678, allocations: 1.338 MB / 0.5725 GB, free: 19.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.4702, allocations: 4.107 MB / 0.5765 GB, free: 15.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005616/0.4759, allocations: 5.935 MB / 0.5823 GB, free: 10.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-05/0.476, allocations: 28.12 kB / 0.5823 GB, free: 10.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009676/0.4856, allocations: 5.488 MB / 0.5876 GB, free: 5.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.012e-05/0.4858, allocations: 50.66 kB / 0.5877 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/0.4859, allocations: 104.1 kB / 0.5878 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.487, allocations: 460.5 kB / 0.5882 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002693/0.4898, allocations: 0.9747 MB / 0.5892 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/0.4937, allocations: 3.4 MB / 0.5925 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.4968, allocations: 235.5 kB / 0.5927 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005682/0.4974, allocations: 270.8 kB / 0.593 GB, free: 32 kB / 410.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.002596/0.5, allocations: 1.363 MB / 0.5943 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005985/0.5006, allocations: 221.1 kB / 0.5945 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.5032, allocations: 1.322 MB / 0.5958 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/0.5032, allocations: 12 kB / 0.5958 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.5032, allocations: 8.812 kB / 0.5958 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5033, allocations: 7.984 kB / 0.5958 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009089/0.5123, allocations: 4.24 MB / 0.6 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.5124, allocations: 4 kB / 0.6 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.513, allocations: 138.3 kB / 0.6001 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008438/0.5139, allocations: 316.5 kB / 0.6004 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-05/0.514, allocations: 16 kB / 0.6004 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/0.517, allocations: 2.818 MB / 0.6032 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5171, allocations: 3.844 kB / 0.6032 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02611/0.5432, allocations: 16.25 MB / 0.6191 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.5443, allocations: 410.1 kB / 0.6195 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004436/0.5448, allocations: 16 kB / 0.6195 GB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/0.5457, allocations: 43.94 kB / 0.6195 GB, free: 4.348 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.5459, allocations: 64.42 kB / 0.6196 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.077e-05/0.546, allocations: 30.66 kB / 0.6196 GB, free: 4.258 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002955/0.549, allocations: 1.629 MB / 0.6212 GB, free: 2.617 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.549, allocations: 0 / 0.6212 GB, free: 2.617 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004189/0.5532, allocations: 0.7773 MB / 0.622 GB, free: 1.84 MB / 442.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.0003789/0.5536, allocations: 145.9 kB / 0.6221 GB, free: 1.691 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004839/0.5584, allocations: 3.223 MB / 0.6252 GB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5585, allocations: 0 / 0.6252 GB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.5596, allocations: 0.857 MB / 0.6261 GB, free: 13.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.5614, allocations: 205.1 kB / 0.6263 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.5741, allocations: 7.505 MB / 0.6336 GB, free: 5.855 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003115/0.5772, allocations: 2.203 MB / 0.6358 GB, free: 3.613 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003515/0.5808, allocations: 1.403 MB / 0.6371 GB, free: 2.203 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/0.5814, allocations: 155.4 kB / 0.6373 GB, free: 2.051 MB / 458.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5814, allocations: 4 kB / 0.6373 GB, free: 2.047 MB / 458.7 MB Notification: Performance of Templates: time 0.04354/0.6249, allocations: 23.25 MB / 0.66 GB, free: 10.89 MB / 490.7 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@2/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