Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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.00152/0.00152, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001718/0.001718, allocations: 207.3 kB / 21.4 MB, free: 1.645 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.52/1.52, allocations: 227.4 MB / 251.6 MB, free: 44 kB / 190.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.2468/0.2468, allocations: 46.18 MB / 351.1 MB, free: 14.34 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.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_trunk_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_trunk_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 80.33 kB / 490.2 MB, free: 27.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1244, allocations: 62.45 MB / 0.5397 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.0056/0.13, allocations: 4.172 MB / 0.5437 GB, free: 60 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.1325, allocations: 1.176 MB / 0.5449 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/0.1328, allocations: 11.94 kB / 0.5449 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.1331, allocations: 106.9 kB / 0.545 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004357/0.1336, allocations: 210.1 kB / 0.5452 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.1342, allocations: 215.6 kB / 0.5454 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009591/0.1352, allocations: 0.8017 MB / 0.5462 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004496/0.1356, allocations: 243.4 kB / 0.5464 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.1361, allocations: 310.9 kB / 0.5467 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.1366, allocations: 350.4 kB / 0.5471 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.774e-05/0.1367, allocations: 60 kB / 0.5471 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.1369, allocations: 91.92 kB / 0.5472 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.1371, allocations: 147.4 kB / 0.5473 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.1374, allocations: 358.2 kB / 0.5477 GB, free: 12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009108/0.1384, allocations: 0.7856 MB / 0.5485 GB, free: 11.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.1384, allocations: 3.984 kB / 0.5485 GB, free: 11.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1384, allocations: 0 / 0.5485 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.1384, allocations: 0 / 0.5485 GB, free: 11.21 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001965/0.1404, allocations: 1.028 MB / 0.5495 GB, free: 10.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1404, allocations: 8.031 kB / 0.5495 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006765/0.1411, allocations: 156.3 kB / 0.5496 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.1417, allocations: 430 kB / 0.55 GB, free: 9.512 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.1418, allocations: 49.62 kB / 0.5501 GB, free: 9.461 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.1419, allocations: 72.33 kB / 0.5501 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.1431, allocations: 0.6077 MB / 0.5507 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/0.1431, allocations: 15.88 kB / 0.5508 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.1432, allocations: 32 kB / 0.5508 GB, free: 8.711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.1432, allocations: 19.98 kB / 0.5508 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.1443, allocations: 0.5074 MB / 0.5513 GB, free: 8.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.1475, allocations: 2.167 MB / 0.5534 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.1488, allocations: 0.6838 MB / 0.5541 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.1495, allocations: 335.1 kB / 0.5544 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.1496, allocations: 97.84 kB / 0.5545 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.1497, allocations: 54.92 kB / 0.5545 GB, free: 4.625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.355e-06/0.1497, allocations: 0 / 0.5545 GB, free: 4.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008372/0.1581, allocations: 4.544 MB / 0.559 GB, free: 15.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.1583, allocations: 218.3 kB / 0.5592 GB, free: 15.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004972/0.1588, allocations: 389.9 kB / 0.5596 GB, free: 15.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.1588, allocations: 49.7 kB / 0.5596 GB, free: 15.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.1591, allocations: 285.5 kB / 0.5599 GB, free: 14.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.1594, allocations: 428.2 kB / 0.5603 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.1597, allocations: 178.9 kB / 0.5605 GB, free: 14.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.16, allocations: 382.8 kB / 0.5608 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006308/0.1606, allocations: 314.4 kB / 0.5611 GB, free: 13.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008002/0.1614, allocations: 0.4965 MB / 0.5616 GB, free: 12.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.163, allocations: 0.8574 MB / 0.5624 GB, free: 11.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.163, allocations: 4 kB / 0.5625 GB, free: 11.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001828/0.1648, allocations: 1.003 MB / 0.5634 GB, free: 10.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1649, allocations: 8 kB / 0.5634 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.1649, allocations: 4 kB / 0.5634 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.1649, allocations: 12 kB / 0.5635 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009942/0.1659, allocations: 275.6 kB / 0.5637 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/0.1659, allocations: 8 kB / 0.5637 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.1664, allocations: 48.34 kB / 0.5638 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/0.1665, allocations: 47.94 kB / 0.5638 GB, free: 10.54 MB / 430.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 (145): * Single equations (assignments): 145 * 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.0003794/0.1669, allocations: 229.5 kB / 0.564 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.1671, allocations: 87.45 kB / 0.5641 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.1676, allocations: 218.9 kB / 0.5643 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.1676, allocations: 16 kB / 0.5643 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.1677, allocations: 4 kB / 0.5643 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.1677, allocations: 11.97 kB / 0.5644 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003764/0.1714, allocations: 2.333 MB / 0.5666 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.1715, allocations: 8.062 kB / 0.5666 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.1725, allocations: 247.7 kB / 0.5669 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.1725, allocations: 11.94 kB / 0.5669 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.1726, allocations: 27.92 kB / 0.5669 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.1726, allocations: 8 kB / 0.5669 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1726, allocations: 4 kB / 0.5669 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.1753, allocations: 1.887 MB / 0.5688 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.1756, allocations: 212.4 kB / 0.569 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.194e-05/0.1757, allocations: 24 kB / 0.569 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.1763, allocations: 39.97 kB / 0.569 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.1765, allocations: 88.39 kB / 0.5691 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.1766, allocations: 32 kB / 0.5692 GB, free: 4.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003205/0.1769, allocations: 271.1 kB / 0.5694 GB, free: 4.645 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.205e-06/0.1769, allocations: 0 / 0.5694 GB, free: 4.645 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008605/0.1778, allocations: 199.9 kB / 0.5696 GB, free: 4.449 MB / 430.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 (116): * Single equations (assignments): 116 * 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.0002061/0.178, allocations: 135.1 kB / 0.5697 GB, free: 4.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.1796, allocations: 0.8291 MB / 0.5705 GB, free: 3.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1797, allocations: 4 kB / 0.5705 GB, free: 3.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.1805, allocations: 490.6 kB / 0.571 GB, free: 2.996 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.1818, allocations: 151.4 kB / 0.5712 GB, free: 2.859 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.1854, allocations: 2.217 MB / 0.5733 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/0.1861, allocations: 0.9479 MB / 0.5742 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005125/0.1866, allocations: 110 kB / 0.5743 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.1868, allocations: 67.42 kB / 0.5744 GB, free: 15.41 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1868, allocations: 0 / 0.5744 GB, free: 15.41 MB / 446.1 MB Notification: Performance of Templates: time 0.0156/0.2024, allocations: 7.576 MB / 0.5818 GB, free: 7.891 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.264665141701698]