Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.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.001661/0.001661, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001781/0.001781, allocations: 209.7 kB / 24.54 MB, free: 4.055 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.527/1.527, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2448/0.2448, allocations: 46.93 MB / 361.4 MB, free: 4.402 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring")
translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 75.88 kB / 0.4972 GB, free: 7.516 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4191, allocations: 66.06 MB / 0.5617 GB, free: 4.523 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.0141/0.4332, allocations: 11.44 MB / 0.5728 GB, free: 9.027 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009628/0.4428, allocations: 4.101 MB / 0.5768 GB, free: 4.914 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.4446, allocations: 83.56 kB / 0.5769 GB, free: 4.832 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.005007/0.4496, allocations: 2.534 MB / 0.5794 GB, free: 2.289 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005251/0.4548, allocations: 1.883 MB / 0.5812 GB, free: 408 kB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.4567, allocations: 0.7877 MB / 0.582 GB, free: 15.61 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.007348/0.464, allocations: 4.507 MB / 0.5864 GB, free: 11.09 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003651/0.4677, allocations: 2.55 MB / 0.5889 GB, free: 8.496 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002751/0.4704, allocations: 1.573 MB / 0.5904 GB, free: 6.918 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003686/0.4741, allocations: 2.403 MB / 0.5928 GB, free: 4.508 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0008308/0.4749, allocations: 332 kB / 0.5931 GB, free: 4.184 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.4771, allocations: 0.9909 MB / 0.5941 GB, free: 3.191 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002234/0.4793, allocations: 1.967 MB / 0.596 GB, free: 1.219 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002715/0.482, allocations: 2.225 MB / 0.5982 GB, free: 14.98 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008831/0.4909, allocations: 6.846 MB / 0.6048 GB, free: 8.109 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4909, allocations: 0 / 0.6048 GB, free: 8.109 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.623e-06/0.4909, allocations: 4 kB / 0.6048 GB, free: 8.105 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0002212/0.4911, allocations: 0 / 0.6048 GB, free: 8.105 MB / 446.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1535
 * Number of variables: 1535
Notification: Performance of Generate backend data structure: time 0.01054/0.5016, allocations: 4.837 MB / 0.6096 GB, free: 3.207 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5017, allocations: 8.031 kB / 0.6096 GB, free: 3.199 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007332/0.509, allocations: 1.975 MB / 0.6115 GB, free: 1.219 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005071/0.5141, allocations: 2.266 MB / 0.6137 GB, free: 14.89 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.5143, allocations: 250.4 kB / 0.614 GB, free: 14.65 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006423/0.5149, allocations: 339.7 kB / 0.6143 GB, free: 14.31 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/0.5343, allocations: 10.23 MB / 0.6243 GB, free: 3.285 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.5345, allocations: 47.58 kB / 0.6243 GB, free: 3.238 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004211/0.5349, allocations: 155.9 kB / 0.6245 GB, free: 3.086 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00315/0.538, allocations: 1.908 MB / 0.6263 GB, free: 1.176 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/0.5563, allocations: 8.177 MB / 0.6343 GB, free: 8.977 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05641/0.6127, allocations: 39.18 MB / 0.6726 GB, free: 0.5977 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.008688/0.6214, allocations: 2.725 MB / 0.6752 GB, free: 13.82 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.6233, allocations: 0.967 MB / 0.6762 GB, free: 12.84 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.009245/0.6325, allocations: 4.57 MB / 0.6806 GB, free: 8.234 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.6326, allocations: 51.44 kB / 0.6807 GB, free: 8.176 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=148): time 3.496e-06/0.6326, allocations: 0 / 0.6807 GB, free: 8.176 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=160): time 0.02709/0.6596, allocations: 9.596 MB / 0.6901 GB, free: 14.52 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.6598, allocations: 208.9 kB / 0.6903 GB, free: 14.28 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007928/0.6677, allocations: 4.048 MB / 0.6942 GB, free: 10.2 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002815/0.668, allocations: 45.7 kB / 0.6943 GB, free: 10.15 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003052/0.6711, allocations: 3.306 MB / 0.6975 GB, free: 6.812 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0009173/0.672, allocations: 0.6591 MB / 0.6981 GB, free: 6.148 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/0.6742, allocations: 1.227 MB / 0.6993 GB, free: 4.91 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001388/0.6744, allocations: 316.9 kB / 0.6996 GB, free: 4.602 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/0.6775, allocations: 1.652 MB / 0.7012 GB, free: 2.945 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006755/0.6842, allocations: 5.546 MB / 0.7067 GB, free: 11.46 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/0.6957, allocations: 7.79 MB / 0.7143 GB, free: 1.746 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002884/0.696, allocations: 40 kB / 0.7143 GB, free: 1.707 MB / 0.545 GB
Notification: Performance of matching and sorting (n=799) (initialization): time 0.01468/0.7107, allocations: 6.942 MB / 0.7211 GB, free: 10.77 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.7108, allocations: 68.25 kB / 0.7212 GB, free: 10.7 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002481/0.7111, allocations: 140 kB / 0.7213 GB, free: 10.56 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.7113, allocations: 180 kB / 0.7215 GB, free: 10.39 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004972/0.7163, allocations: 1.435 MB / 0.7229 GB, free: 8.945 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003652/0.7167, allocations: 270.9 kB / 0.7231 GB, free: 8.68 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004789/0.7215, allocations: 307.6 kB / 0.7234 GB, free: 8.379 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009613/0.7224, allocations: 376 kB / 0.7238 GB, free: 8.012 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 625
 * Number of states: 0 ()
 * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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 (775):
 * Single equations (assignments): 772
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.004628/0.727, allocations: 2.041 MB / 0.7258 GB, free: 5.957 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/0.7281, allocations: 365.5 kB / 0.7261 GB, free: 5.598 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.7293, allocations: 410.6 kB / 0.7265 GB, free: 5.191 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-05/0.7293, allocations: 20 kB / 0.7265 GB, free: 5.172 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.7294, allocations: 4 kB / 0.7265 GB, free: 5.168 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.7294, allocations: 11.91 kB / 0.7265 GB, free: 5.156 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3763/1.106, allocations: 5.807 MB / 0.7322 GB, free: 151.3 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.461e-05/1.106, allocations: 19.03 kB / 0.7322 GB, free: 151.3 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/1.107, allocations: 282.1 kB / 0.7325 GB, free: 151.3 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.961e-05/1.107, allocations: 24.22 kB / 0.7325 GB, free: 151.3 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/1.107, allocations: 50.48 kB / 0.7326 GB, free: 151.3 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.644e-05/1.107, allocations: 35.25 kB / 0.7326 GB, free: 151.3 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.352e-05/1.107, allocations: 27.62 kB / 0.7326 GB, free: 151.3 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004061/1.111, allocations: 3.322 MB / 0.7359 GB, free: 149.9 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.112, allocations: 352.1 kB / 0.7362 GB, free: 149.9 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000335/1.113, allocations: 55.8 kB / 0.7363 GB, free: 149.9 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.114, allocations: 67.08 kB / 0.7363 GB, free: 149.8 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/1.114, allocations: 154.6 kB / 0.7365 GB, free: 149.8 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.811e-05/1.114, allocations: 64.64 kB / 0.7365 GB, free: 149.8 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.003421/1.118, allocations: 2.505 MB / 0.739 GB, free: 149 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 9e-08/1.118, allocations: 2.688 kB / 0.739 GB, free: 149 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.004897/1.123, allocations: 0.8855 MB / 0.7398 GB, free: 148.8 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 78
 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v)
 * 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 (145):
 * Single equations (assignments): 142
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003794/1.123, allocations: 198 kB / 0.74 GB, free: 148.7 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.005293/1.128, allocations: 3.698 MB / 0.7436 GB, free: 147.5 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.128, allocations: 3.938 kB / 0.7437 GB, free: 147.5 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008818/1.129, allocations: 0.7101 MB / 0.7443 GB, free: 147.3 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/1.132, allocations: 470.3 kB / 0.7448 GB, free: 147.1 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/1.146, allocations: 8.868 MB / 0.7535 GB, free: 141.9 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004071/1.15, allocations: 3.178 MB / 0.7566 GB, free: 139.4 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.003838/1.154, allocations: 1.812 MB / 0.7583 GB, free: 138.3 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006768/1.154, allocations: 242.6 kB / 0.7586 GB, free: 138 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.182e-06/1.154, allocations: 4 kB / 0.7586 GB, free: 138 MB / 0.5606 GB
Notification: Performance of Templates: time 0.05266/1.207, allocations: 29.42 MB / 0.7873 GB, free: 108.9 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.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: 7.505728582851589]