Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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.001395/0.001395, allocations: 109.6 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.002804/0.002804, allocations: 191.5 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.709/1.709, 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.2594/0.2594, allocations: 44.24 MB / 330.2 MB, free: 9.555 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.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents")
translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents") [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.00217/0.00217, allocations: 78.55 kB / 467.9 MB, free: 4.043 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1524, allocations: 61.02 MB / 0.5166 GB, free: 6.891 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006386/0.1588, allocations: 4.144 MB / 0.5206 GB, free: 2.723 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002704/0.1615, allocations: 1.122 MB / 0.5217 GB, free: 1.59 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004391/0.162, allocations: 19.88 kB / 0.5217 GB, free: 1.57 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.1623, allocations: 98.95 kB / 0.5218 GB, free: 1.473 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.1627, allocations: 202.2 kB / 0.522 GB, free: 1.273 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.1634, allocations: 191.6 kB / 0.5222 GB, free: 1.086 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009499/0.1643, allocations: 0.7862 MB / 0.523 GB, free: 304 kB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/0.1647, allocations: 164.1 kB / 0.5231 GB, free: 132 kB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004296/0.1651, allocations: 322.8 kB / 0.5234 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.1655, allocations: 342.5 kB / 0.5238 GB, free: 15.48 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.874e-05/0.1656, allocations: 56 kB / 0.5238 GB, free: 15.42 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.1658, allocations: 87.98 kB / 0.5239 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.166, allocations: 147.4 kB / 0.524 GB, free: 15.19 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004226/0.1664, allocations: 350.2 kB / 0.5244 GB, free: 14.85 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009339/0.1673, allocations: 0.7663 MB / 0.5251 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1673, allocations: 0 / 0.5251 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of FrontEnd: time 6.061e-06/0.1673, allocations: 4 kB / 0.5251 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.475e-05/0.1674, allocations: 4 kB / 0.5251 GB, free: 14.07 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: 144
 * Number of variables: 144
Notification: Performance of Generate backend data structure: time 0.002162/0.1695, allocations: 0.937 MB / 0.526 GB, free: 13.1 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.1696, allocations: 12.03 kB / 0.526 GB, free: 13.09 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.1697, allocations: 80.47 kB / 0.5261 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.1703, allocations: 340.2 kB / 0.5264 GB, free: 12.65 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.1704, allocations: 41.69 kB / 0.5265 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.1705, allocations: 64.33 kB / 0.5265 GB, free: 12.55 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.1719, allocations: 0.6268 MB / 0.5272 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.1719, allocations: 7.953 kB / 0.5272 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.172, allocations: 24 kB / 0.5272 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.172, allocations: 12 kB / 0.5272 GB, free: 11.85 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.1732, allocations: 0.5372 MB / 0.5277 GB, free: 11.31 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004754/0.178, allocations: 2.103 MB / 0.5298 GB, free: 9.105 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.18, allocations: 0.6757 MB / 0.5304 GB, free: 8.363 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000965/0.181, allocations: 319.2 kB / 0.5307 GB, free: 8.031 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.1811, allocations: 20.36 kB / 0.5308 GB, free: 8.012 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.966e-05/0.1812, allocations: 47 kB / 0.5308 GB, free: 7.957 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=82): time 3.998e-06/0.1812, allocations: 0 / 0.5308 GB, free: 7.957 MB / 414.1 MB
Notification: Performance of matching and sorting (n=115): time 0.0127/0.1939, allocations: 3.947 MB / 0.5347 GB, free: 3.805 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001687/0.194, allocations: 226.2 kB / 0.5349 GB, free: 3.535 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/0.1947, allocations: 365.9 kB / 0.5352 GB, free: 3.168 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 9.562e-05/0.1948, allocations: 41.7 kB / 0.5353 GB, free: 3.121 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.1951, allocations: 273.8 kB / 0.5355 GB, free: 2.848 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004992/0.1956, allocations: 424.3 kB / 0.5359 GB, free: 2.43 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/0.196, allocations: 183 kB / 0.5361 GB, free: 2.242 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002683/0.1963, allocations: 382.8 kB / 0.5365 GB, free: 1.859 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.1973, allocations: 322.4 kB / 0.5368 GB, free: 1.547 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.1986, allocations: 0.5043 MB / 0.5373 GB, free: 0.9727 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.2011, allocations: 0.8745 MB / 0.5381 GB, free: 28 kB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.2011, allocations: 0 / 0.5381 GB, free: 28 kB / 414.1 MB
Notification: Performance of matching and sorting (n=144) (initialization): time 0.3177/0.5188, allocations: 1.001 MB / 0.5391 GB, free: 27.78 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.5188, allocations: 14.75 kB / 0.5391 GB, free: 27.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.5188, allocations: 5.656 kB / 0.5391 GB, free: 27.78 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 5.474e-05/0.5189, allocations: 10.31 kB / 0.5391 GB, free: 27.78 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.5201, allocations: 282.8 kB / 0.5394 GB, free: 27.78 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.673e-05/0.5201, allocations: 14.06 kB / 0.5394 GB, free: 27.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.5206, allocations: 51.17 kB / 0.5395 GB, free: 27.78 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-05/0.5207, allocations: 42.16 kB / 0.5395 GB, free: 27.78 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 22
 * Number of states: 0 ()
 * Number of discrete variables: 1 (elastoGap.contact)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (144):
 * Single equations (assignments): 144
 * Array equations: 0
 * 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.0003638/0.5211, allocations: 227.8 kB / 0.5397 GB, free: 27.67 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.5213, allocations: 80.8 kB / 0.5398 GB, free: 27.67 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.5218, allocations: 220.2 kB / 0.54 GB, free: 27.62 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.5218, allocations: 13.38 kB / 0.54 GB, free: 27.62 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/0.5218, allocations: 2.125 kB / 0.54 GB, free: 27.62 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.5219, allocations: 8.406 kB / 0.54 GB, free: 27.62 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/0.5257, allocations: 2.301 MB / 0.5423 GB, free: 26.9 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.5257, allocations: 3.812 kB / 0.5423 GB, free: 26.9 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.5268, allocations: 249.4 kB / 0.5425 GB, free: 26.9 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.5269, allocations: 8.25 kB / 0.5425 GB, free: 26.9 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/0.5269, allocations: 29.17 kB / 0.5426 GB, free: 26.9 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.5269, allocations: 15.5 kB / 0.5426 GB, free: 26.9 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5269, allocations: 6 kB / 0.5426 GB, free: 26.9 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.5295, allocations: 1.912 MB / 0.5444 GB, free: 25.86 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.5298, allocations: 126.3 kB / 0.5446 GB, free: 25.8 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.5299, allocations: 26.91 kB / 0.5446 GB, free: 25.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006475/0.5306, allocations: 45.05 kB / 0.5446 GB, free: 25.77 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.5308, allocations: 90.39 kB / 0.5447 GB, free: 25.75 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.5308, allocations: 35.03 kB / 0.5448 GB, free: 25.74 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0003007/0.5311, allocations: 246.8 kB / 0.545 GB, free: 25.61 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.5311, allocations: 1.156 kB / 0.545 GB, free: 25.61 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0009076/0.5321, allocations: 199.8 kB / 0.5452 GB, free: 25.58 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 16
 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v)
 * Number of discrete variables: 1 (elastoGap.contact)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (115):
 * Single equations (assignments): 115
 * Array equations: 0
 * 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.0001702/0.5322, allocations: 138.1 kB / 0.5453 GB, free: 25.48 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001677/0.5339, allocations: 0.8123 MB / 0.5461 GB, free: 25.25 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5339, allocations: 3.031 kB / 0.5461 GB, free: 25.25 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008794/0.5348, allocations: 469.7 kB / 0.5466 GB, free: 25.12 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.536, allocations: 139.9 kB / 0.5467 GB, free: 25.06 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.5394, allocations: 2.21 MB / 0.5488 GB, free: 23.67 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.54, allocations: 0.9504 MB / 0.5498 GB, free: 22.95 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0004215/0.5404, allocations: 100.5 kB / 0.5499 GB, free: 22.92 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.5406, allocations: 61.69 kB / 0.5499 GB, free: 22.91 MB / 414.1 MB
Notification: Performance of SimCode: time 1.022e-06/0.5406, allocations: 0 / 0.5499 GB, free: 22.91 MB / 414.1 MB
Notification: Performance of Templates: time 0.0185/0.5591, allocations: 8.046 MB / 0.5578 GB, free: 22.1 MB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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.011362154968083]