Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001641/0.001641, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001949/0.001949, allocations: 213.7 kB / 24.54 MB, free: 4.02 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.444/1.444, allocations: 230.2 MB / 257.9 MB, free: 8.242 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.2299/0.2299, allocations: 46.9 MB / 361.3 MB, free: 4.52 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.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 84.05 kB / 0.4971 GB, free: 7.594 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3863, allocations: 66.01 MB / 0.5615 GB, free: 4.633 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.0137/0.4, allocations: 11.45 MB / 0.5727 GB, free: 9.121 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009469/0.4094, allocations: 4.108 MB / 0.5767 GB, free: 5 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.4116, allocations: 75.62 kB / 0.5768 GB, free: 4.926 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.005026/0.4166, allocations: 2.538 MB / 0.5793 GB, free: 2.379 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005338/0.422, allocations: 1.883 MB / 0.5811 GB, free: 500 kB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.424, allocations: 0.7762 MB / 0.5819 GB, free: 15.71 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00686/0.4309, allocations: 4.52 MB / 0.5863 GB, free: 11.18 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003441/0.4343, allocations: 2.541 MB / 0.5888 GB, free: 8.594 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.437, allocations: 1.585 MB / 0.5903 GB, free: 7.004 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00388/0.4409, allocations: 2.399 MB / 0.5927 GB, free: 4.598 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0008981/0.4418, allocations: 336 kB / 0.593 GB, free: 4.27 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.444, allocations: 0.9831 MB / 0.5939 GB, free: 3.285 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002306/0.4463, allocations: 1.963 MB / 0.5958 GB, free: 1.316 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.005491/0.4518, allocations: 2.237 MB / 0.598 GB, free: 15.07 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009677/0.4614, allocations: 6.839 MB / 0.6047 GB, free: 8.203 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4615, allocations: 0 / 0.6047 GB, free: 8.203 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.202e-06/0.4615, allocations: 4 kB / 0.6047 GB, free: 8.199 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0002233/0.4617, allocations: 0 / 0.6047 GB, free: 8.199 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.01144/0.4731, allocations: 4.837 MB / 0.6094 GB, free: 3.301 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4732, allocations: 8.031 kB / 0.6094 GB, free: 3.293 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007619/0.4808, allocations: 1.979 MB / 0.6114 GB, free: 1.309 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/0.4868, allocations: 2.266 MB / 0.6136 GB, free: 14.98 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.487, allocations: 258.4 kB / 0.6138 GB, free: 14.73 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001072/0.4881, allocations: 323.8 kB / 0.6141 GB, free: 14.41 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/0.5071, allocations: 10.24 MB / 0.6241 GB, free: 3.375 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/0.5072, allocations: 51.56 kB / 0.6242 GB, free: 3.324 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004075/0.5076, allocations: 159.9 kB / 0.6243 GB, free: 3.168 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002977/0.5106, allocations: 1.904 MB / 0.6262 GB, free: 1.262 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/0.528, allocations: 8.169 MB / 0.6342 GB, free: 9.066 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05602/0.584, allocations: 39.18 MB / 0.6725 GB, free: 0.6914 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.008911/0.5929, allocations: 2.723 MB / 0.6751 GB, free: 13.92 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.5948, allocations: 0.967 MB / 0.6761 GB, free: 12.93 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.6053, allocations: 4.57 MB / 0.6805 GB, free: 8.332 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.6054, allocations: 63.42 kB / 0.6806 GB, free: 8.262 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=148): time 5.34e-06/0.6054, allocations: 4 kB / 0.6806 GB, free: 8.258 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=160): time 0.02854/0.6339, allocations: 9.58 MB / 0.6899 GB, free: 14.62 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/0.6341, allocations: 204.9 kB / 0.6901 GB, free: 14.38 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008752/0.6429, allocations: 4.048 MB / 0.6941 GB, free: 10.3 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003207/0.6432, allocations: 49.7 kB / 0.6941 GB, free: 10.25 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003262/0.6465, allocations: 3.306 MB / 0.6974 GB, free: 6.91 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0009195/0.6474, allocations: 0.6591 MB / 0.698 GB, free: 6.246 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001797/0.6492, allocations: 1.227 MB / 0.6992 GB, free: 5.008 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001911/0.6494, allocations: 308.9 kB / 0.6995 GB, free: 4.707 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002956/0.6523, allocations: 1.656 MB / 0.7011 GB, free: 3.047 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006871/0.6592, allocations: 5.546 MB / 0.7065 GB, free: 11.56 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/0.6715, allocations: 7.79 MB / 0.7141 GB, free: 1.848 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000201/0.6717, allocations: 43.94 kB / 0.7142 GB, free: 1.805 MB / 0.545 GB
Notification: Performance of matching and sorting (n=799) (initialization): time 0.01665/0.6884, allocations: 6.958 MB / 0.721 GB, free: 10.84 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.6885, allocations: 64 kB / 0.721 GB, free: 10.78 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002852/0.6888, allocations: 136 kB / 0.7212 GB, free: 10.65 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/0.6891, allocations: 180 kB / 0.7213 GB, free: 10.47 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005113/0.6942, allocations: 1.435 MB / 0.7227 GB, free: 9.031 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000355/0.6946, allocations: 270.9 kB / 0.723 GB, free: 8.766 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/0.6991, allocations: 311.7 kB / 0.7233 GB, free: 8.461 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009358/0.7, allocations: 372 kB / 0.7236 GB, free: 8.098 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.005087/0.7051, allocations: 2.038 MB / 0.7256 GB, free: 6.047 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/0.7065, allocations: 361.6 kB / 0.726 GB, free: 5.691 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.7082, allocations: 418.6 kB / 0.7264 GB, free: 5.277 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.822e-05/0.7082, allocations: 20 kB / 0.7264 GB, free: 5.258 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/0.7082, allocations: 0 / 0.7264 GB, free: 5.258 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.689e-05/0.7083, allocations: 7.922 kB / 0.7264 GB, free: 5.25 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3183/1.027, allocations: 5.806 MB / 0.7321 GB, free: 151 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-05/1.027, allocations: 17.84 kB / 0.7321 GB, free: 151 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/1.028, allocations: 291.1 kB / 0.7324 GB, free: 151 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.573e-05/1.028, allocations: 24.72 kB / 0.7324 GB, free: 151 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.028, allocations: 46.83 kB / 0.7324 GB, free: 151 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.991e-05/1.028, allocations: 36.2 kB / 0.7325 GB, free: 151 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.235e-05/1.028, allocations: 28.12 kB / 0.7325 GB, free: 151 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/1.032, allocations: 3.321 MB / 0.7357 GB, free: 149.6 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/1.033, allocations: 358.2 kB / 0.7361 GB, free: 149.6 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/1.033, allocations: 55.44 kB / 0.7361 GB, free: 149.6 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.034, allocations: 62.53 kB / 0.7362 GB, free: 149.5 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/1.034, allocations: 153.5 kB / 0.7363 GB, free: 149.5 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/1.034, allocations: 65.17 kB / 0.7364 GB, free: 149.5 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0032/1.037, allocations: 2.508 MB / 0.7389 GB, free: 148.6 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 8.1e-08/1.037, allocations: 0 / 0.7389 GB, free: 148.6 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.004544/1.042, allocations: 0.8835 MB / 0.7397 GB, free: 148.5 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.0003814/1.042, allocations: 194.1 kB / 0.7399 GB, free: 148.4 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.005156/1.047, allocations: 3.705 MB / 0.7435 GB, free: 147.2 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.047, allocations: 0 / 0.7435 GB, free: 147.2 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008292/1.048, allocations: 0.7111 MB / 0.7442 GB, free: 147 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/1.051, allocations: 480.3 kB / 0.7447 GB, free: 146.8 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/1.062, allocations: 8.862 MB / 0.7533 GB, free: 141.1 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002426/1.065, allocations: 3.163 MB / 0.7564 GB, free: 138.6 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0033/1.068, allocations: 1.816 MB / 0.7582 GB, free: 137.5 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/1.069, allocations: 251.4 kB / 0.7584 GB, free: 137.2 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.232e-06/1.069, allocations: 0 / 0.7584 GB, free: 137.2 MB / 0.5606 GB
Notification: Performance of Templates: time 0.05043/1.119, allocations: 29.43 MB / 0.7872 GB, free: 108 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.036321938037872]