Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00169/0.00169, allocations: 105 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002281/0.002281, allocations: 209.7 kB / 24.53 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.594/1.594, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.9 MB / 361.3 MB, free: 4.43 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass")
translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 75.88 kB / 0.497 GB, free: 7.586 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3842, allocations: 66.02 MB / 0.5615 GB, free: 4.621 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009317/0.3935, allocations: 6.83 MB / 0.5682 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005688/0.3992, allocations: 2.462 MB / 0.5706 GB, free: 11.29 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.4004, allocations: 39.88 kB / 0.5706 GB, free: 11.25 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002564/0.4029, allocations: 1.066 MB / 0.5717 GB, free: 10.18 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002715/0.4056, allocations: 0.8675 MB / 0.5725 GB, free: 9.305 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.4066, allocations: 315.2 kB / 0.5728 GB, free: 8.996 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003067/0.4097, allocations: 1.868 MB / 0.5746 GB, free: 7.125 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.4112, allocations: 0.9633 MB / 0.5756 GB, free: 6.141 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.4126, allocations: 0.7238 MB / 0.5763 GB, free: 5.414 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.4144, allocations: 1.059 MB / 0.5773 GB, free: 4.352 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004099/0.4148, allocations: 132 kB / 0.5774 GB, free: 4.223 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.4166, allocations: 0.7643 MB / 0.5782 GB, free: 3.457 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001071/0.4177, allocations: 0.9502 MB / 0.5791 GB, free: 2.504 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001264/0.419, allocations: 1.125 MB / 0.5802 GB, free: 1.371 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005667/0.4246, allocations: 3.733 MB / 0.5839 GB, free: 13.62 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4246, allocations: 4 kB / 0.5839 GB, free: 13.62 MB / 430.1 MB
Notification: Performance of FrontEnd: time 3.036e-06/0.4246, allocations: 0 / 0.5839 GB, free: 13.62 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 0.0001198/0.4248, allocations: 0 / 0.5839 GB, free: 13.62 MB / 430.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.006843/0.4316, allocations: 2.651 MB / 0.5865 GB, free: 10.92 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/0.4317, allocations: 8.031 kB / 0.5865 GB, free: 10.91 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005773/0.4374, allocations: 1.578 MB / 0.588 GB, free: 9.332 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.4402, allocations: 1.015 MB / 0.589 GB, free: 8.285 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.4404, allocations: 123.2 kB / 0.5891 GB, free: 8.164 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004341/0.4408, allocations: 164 kB / 0.5893 GB, free: 8.004 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.4513, allocations: 6.178 MB / 0.5953 GB, free: 1.34 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.079e-05/0.4514, allocations: 27.75 kB / 0.5953 GB, free: 1.312 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.4516, allocations: 79.89 kB / 0.5954 GB, free: 1.234 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002665/0.4543, allocations: 1.445 MB / 0.5968 GB, free: 15.78 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.465, allocations: 5.389 MB / 0.6021 GB, free: 10.4 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/0.4981, allocations: 24.7 MB / 0.6262 GB, free: 0.8906 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004656/0.5028, allocations: 1.812 MB / 0.628 GB, free: 15.04 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.5041, allocations: 0.8824 MB / 0.6288 GB, free: 14.15 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/0.5044, allocations: 103.7 kB / 0.6289 GB, free: 14.05 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.5044, allocations: 38.56 kB / 0.629 GB, free: 14 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=96): time 3.156e-06/0.5044, allocations: 3.938 kB / 0.629 GB, free: 14 MB / 478.1 MB
Notification: Performance of matching and sorting (n=106): time 0.02334/0.5278, allocations: 8.329 MB / 0.6371 GB, free: 5.594 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5279, allocations: 148.4 kB / 0.6372 GB, free: 5.418 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/0.5319, allocations: 2.64 MB / 0.6398 GB, free: 2.754 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.000224/0.5321, allocations: 37.7 kB / 0.6399 GB, free: 2.711 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.5337, allocations: 2.108 MB / 0.6419 GB, free: 0.582 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005529/0.5343, allocations: 452.6 kB / 0.6424 GB, free: 140 kB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/0.5355, allocations: 0.8734 MB / 0.6432 GB, free: 15.25 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001316/0.5356, allocations: 309.1 kB / 0.6435 GB, free: 14.95 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.5376, allocations: 1.332 MB / 0.6448 GB, free: 13.61 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00446/0.5421, allocations: 4.108 MB / 0.6488 GB, free: 8.094 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007662/0.5497, allocations: 5.936 MB / 0.6546 GB, free: 0.7734 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.85e-05/0.5498, allocations: 28 kB / 0.6546 GB, free: 0.7461 MB / 494.1 MB
Notification: Performance of matching and sorting (n=560) (initialization): time 0.01077/0.5606, allocations: 5.499 MB / 0.66 GB, free: 11.24 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 7.116e-05/0.5607, allocations: 48 kB / 0.6601 GB, free: 11.19 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001096/0.5608, allocations: 96 kB / 0.6601 GB, free: 11.1 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.5619, allocations: 456.5 kB / 0.6606 GB, free: 10.65 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/0.5649, allocations: 0.9787 MB / 0.6615 GB, free: 9.668 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004654/0.5696, allocations: 3.565 MB / 0.665 GB, free: 5.988 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/0.5726, allocations: 235.6 kB / 0.6652 GB, free: 5.758 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006019/0.5732, allocations: 268 kB / 0.6655 GB, free: 5.496 MB / 0.4981 GB
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.002231/0.5754, allocations: 1.365 MB / 0.6668 GB, free: 4.117 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004362/0.5759, allocations: 238.3 kB / 0.6671 GB, free: 3.883 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.5785, allocations: 1.318 MB / 0.6683 GB, free: 2.551 MB / 0.4981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/0.5785, allocations: 12 kB / 0.6684 GB, free: 2.539 MB / 0.4981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.5785, allocations: 4 kB / 0.6684 GB, free: 2.535 MB / 0.4981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.5785, allocations: 7.812 kB / 0.6684 GB, free: 2.531 MB / 0.4981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007755/0.5863, allocations: 4.178 MB / 0.6724 GB, free: 14.3 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5863, allocations: 0 / 0.6724 GB, free: 14.3 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/0.587, allocations: 143.8 kB / 0.6726 GB, free: 14.16 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0009243/0.5879, allocations: 312.6 kB / 0.6729 GB, free: 13.85 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/0.588, allocations: 16 kB / 0.6729 GB, free: 13.83 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003801/0.5918, allocations: 2.978 MB / 0.6758 GB, free: 10.73 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5918, allocations: 0 / 0.6758 GB, free: 10.73 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004685/0.5965, allocations: 3.072 MB / 0.6788 GB, free: 7.641 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006136/0.5971, allocations: 214.3 kB / 0.679 GB, free: 7.43 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.5973, allocations: 16 kB / 0.679 GB, free: 7.414 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007521/0.598, allocations: 52 kB / 0.6791 GB, free: 7.363 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.5982, allocations: 52.33 kB / 0.6791 GB, free: 7.312 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.5983, allocations: 28.06 kB / 0.6792 GB, free: 7.285 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 0.002527/0.6008, allocations: 1.632 MB / 0.6807 GB, free: 5.641 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 1.4e-07/0.6008, allocations: 3.938 kB / 0.6807 GB, free: 5.637 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.003526/0.6043, allocations: 0.5897 MB / 0.6813 GB, free: 5.047 MB / 0.5137 GB
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.0003957/0.6047, allocations: 139 kB / 0.6815 GB, free: 4.902 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.006765/0.6115, allocations: 3.099 MB / 0.6845 GB, free: 1.816 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 1.447e-05/0.6115, allocations: 0 / 0.6845 GB, free: 1.816 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 0.001442/0.613, allocations: 0.8078 MB / 0.6853 GB, free: 1 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.6148, allocations: 204.9 kB / 0.6855 GB, free: 0.7969 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.6257, allocations: 5.573 MB / 0.6909 GB, free: 11.18 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002456/0.6281, allocations: 2.167 MB / 0.693 GB, free: 8.977 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.003116/0.6313, allocations: 1.391 MB / 0.6944 GB, free: 7.578 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/0.6317, allocations: 159.4 kB / 0.6945 GB, free: 7.422 MB / 0.5294 GB
Notification: Performance of SimCode: time 2.014e-06/0.6317, allocations: 0 / 0.6945 GB, free: 7.422 MB / 0.5294 GB
Notification: Performance of Templates: time 0.04561/0.6773, allocations: 21.24 MB / 0.7153 GB, free: 2.219 MB / 0.545 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.507998278364539]