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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 109.8 kB / 19.69 MB, free: 2.199 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002319/0.002319, allocations: 187.6 kB / 22.98 MB, free: 5.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2298/0.2298, allocations: 44.24 MB / 330.2 MB, free: 9.551 MB / 270.1 MB
"
[Timeout remaining time 179]
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=5002,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=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660]
"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.002545/0.002545, allocations: 74.86 kB / 467.9 MB, free: 4.043 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1494, allocations: 61.03 MB / 0.5166 GB, free: 6.883 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01009/0.1595, allocations: 6.865 MB / 0.5233 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006281/0.1657, allocations: 2.42 MB / 0.5256 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.1669, allocations: 39.88 kB / 0.5257 GB, free: 13.51 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002785/0.1697, allocations: 1.062 MB / 0.5267 GB, free: 12.44 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002679/0.1724, allocations: 0.8675 MB / 0.5276 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0009726/0.1734, allocations: 311.2 kB / 0.5279 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003208/0.1766, allocations: 1.892 MB / 0.5297 GB, free: 9.367 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.1786, allocations: 0.9637 MB / 0.5306 GB, free: 8.379 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.1803, allocations: 0.7316 MB / 0.5314 GB, free: 7.645 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.1823, allocations: 1.07 MB / 0.5324 GB, free: 6.57 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000578/0.1829, allocations: 128 kB / 0.5325 GB, free: 6.445 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.1848, allocations: 0.7448 MB / 0.5333 GB, free: 5.699 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001319/0.1861, allocations: 0.9658 MB / 0.5342 GB, free: 4.73 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00208/0.1882, allocations: 1.149 MB / 0.5353 GB, free: 3.574 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.2797/0.4679, allocations: 3.742 MB / 0.539 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4679, allocations: 1.266 kB / 0.539 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.774e-06/0.4679, allocations: 0 / 0.539 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.0001765/0.4681, allocations: 2.219 kB / 0.539 GB, free: 15.35 MB / 414.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.005268/0.4734, allocations: 2.657 MB / 0.5416 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4734, allocations: 8.938 kB / 0.5416 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006209/0.4796, allocations: 1.583 MB / 0.5431 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/0.4827, allocations: 1.029 MB / 0.5441 GB, free: 13.67 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.626e-05/0.4828, allocations: 116.5 kB / 0.5442 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003472/0.4831, allocations: 156.2 kB / 0.5444 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.4933, allocations: 6.193 MB / 0.5504 GB, free: 12.33 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.915e-05/0.4934, allocations: 26.41 kB / 0.5505 GB, free: 12.33 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003243/0.4937, allocations: 79.91 kB / 0.5505 GB, free: 12.33 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002825/0.4966, allocations: 1.442 MB / 0.5519 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/0.5092, allocations: 5.389 MB / 0.5572 GB, free: 10.61 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03331/0.5425, allocations: 24.71 MB / 0.5813 GB, free: 8.57 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004837/0.5474, allocations: 1.799 MB / 0.5831 GB, free: 7.75 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.5488, allocations: 0.8788 MB / 0.584 GB, free: 7.305 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/0.5491, allocations: 103.3 kB / 0.5841 GB, free: 7.27 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.5492, allocations: 51.33 kB / 0.5841 GB, free: 7.219 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=96): time 3.737e-06/0.5492, allocations: 0 / 0.5841 GB, free: 7.219 MB / 430.1 MB
Notification: Performance of matching and sorting (n=106): time 0.02489/0.5741, allocations: 8.35 MB / 0.5923 GB, free: 2.734 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.5742, allocations: 139.3 kB / 0.5924 GB, free: 2.578 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004721/0.5789, allocations: 2.65 MB / 0.595 GB, free: 15.99 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.5791, allocations: 43.45 kB / 0.595 GB, free: 15.95 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001993/0.5811, allocations: 2.118 MB / 0.5971 GB, free: 13.86 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0006335/0.5817, allocations: 457.2 kB / 0.5975 GB, free: 13.41 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/0.5832, allocations: 0.8721 MB / 0.5984 GB, free: 12.53 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001534/0.5834, allocations: 301.1 kB / 0.5987 GB, free: 12.23 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/0.5859, allocations: 1.332 MB / 0.6 GB, free: 10.89 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005019/0.5909, allocations: 4.107 MB / 0.604 GB, free: 5.434 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.008423/0.5993, allocations: 5.935 MB / 0.6098 GB, free: 14.51 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/0.5994, allocations: 28 kB / 0.6098 GB, free: 14.48 MB / 462.1 MB
Notification: Performance of matching and sorting (n=560) (initialization): time 0.01134/0.6108, allocations: 5.493 MB / 0.6152 GB, free: 9.027 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.6109, allocations: 51.98 kB / 0.6152 GB, free: 8.977 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/0.611, allocations: 104.1 kB / 0.6153 GB, free: 8.875 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.6124, allocations: 456.5 kB / 0.6157 GB, free: 8.426 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/0.6158, allocations: 0.9713 MB / 0.6167 GB, free: 7.453 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005031/0.6209, allocations: 3.571 MB / 0.6202 GB, free: 3.777 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00354/0.6244, allocations: 235.7 kB / 0.6204 GB, free: 3.547 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009469/0.6254, allocations: 270.2 kB / 0.6207 GB, free: 3.285 MB / 462.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.003154/0.6285, allocations: 1.37 MB / 0.622 GB, free: 1.902 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007049/0.6292, allocations: 230.4 kB / 0.6222 GB, free: 1.676 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/0.6323, allocations: 1.322 MB / 0.6235 GB, free: 348 kB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.55e-05/0.6324, allocations: 12 kB / 0.6235 GB, free: 336 kB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.6324, allocations: 3.938 kB / 0.6235 GB, free: 336 kB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/0.6324, allocations: 13.62 kB / 0.6235 GB, free: 324 kB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.6425, allocations: 4.165 MB / 0.6276 GB, free: 12.12 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.6425, allocations: 0 / 0.6276 GB, free: 12.12 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/0.6432, allocations: 139.8 kB / 0.6277 GB, free: 11.99 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.6442, allocations: 320.5 kB / 0.628 GB, free: 11.67 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.6444, allocations: 12 kB / 0.6281 GB, free: 11.66 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004261/0.6486, allocations: 2.969 MB / 0.631 GB, free: 8.586 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6486, allocations: 4.062 kB / 0.631 GB, free: 8.582 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005077/0.6537, allocations: 3.083 MB / 0.634 GB, free: 5.484 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.6549, allocations: 342.3 kB / 0.6343 GB, free: 5.148 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004572/0.6553, allocations: 21.64 kB / 0.6343 GB, free: 5.129 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.6564, allocations: 47.88 kB / 0.6344 GB, free: 5.082 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.6565, allocations: 56.33 kB / 0.6344 GB, free: 5.027 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/0.6566, allocations: 27.98 kB / 0.6344 GB, free: 5 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.0034/0.66, allocations: 1.629 MB / 0.636 GB, free: 3.359 MB / 478.1 MB
Notification: Performance of sort global known variables: time 5.51e-07/0.66, allocations: 0 / 0.636 GB, free: 3.359 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.004855/0.6649, allocations: 0.6016 MB / 0.6366 GB, free: 2.758 MB / 478.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.0005181/0.6654, allocations: 146.5 kB / 0.6368 GB, free: 2.609 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.006071/0.6715, allocations: 3.103 MB / 0.6398 GB, free: 15.51 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.6715, allocations: 4.062 kB / 0.6398 GB, free: 15.51 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001411/0.6729, allocations: 0.8037 MB / 0.6406 GB, free: 14.69 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.6749, allocations: 216.3 kB / 0.6408 GB, free: 14.49 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.6863, allocations: 5.565 MB / 0.6462 GB, free: 8.887 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/0.6897, allocations: 2.174 MB / 0.6483 GB, free: 6.691 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.003776/0.6934, allocations: 1.39 MB / 0.6497 GB, free: 5.297 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006502/0.6941, allocations: 159.4 kB / 0.6499 GB, free: 5.141 MB / 494.1 MB
Notification: Performance of SimCode: time 1.613e-06/0.6941, allocations: 4 kB / 0.6499 GB, free: 5.137 MB / 494.1 MB
Notification: Performance of Templates: time 0.05217/0.7463, allocations: 21.32 MB / 0.6707 GB, free: 15.95 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660]
(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) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 6.7106101009994745]