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.001559/0.001559, allocations: 117.1 kB / 19.13 MB, free: 3.934 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.001717/0.001717, allocations: 214.6 kB / 22.08 MB, free: 0.9805 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.469/1.469, allocations: 227.4 MB / 252.3 MB, free: 68 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.2365/0.2365, allocations: 46.17 MB / 351.8 MB, free: 14.28 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.002315/0.002315, allocations: 84.89 kB / 490.9 MB, free: 28.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1207, allocations: 62.46 MB / 0.5403 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005914/0.1267, allocations: 4.167 MB / 0.5444 GB, free: 60 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.1292, allocations: 1.18 MB / 0.5456 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.1296, allocations: 15.94 kB / 0.5456 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.1299, allocations: 103 kB / 0.5457 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.1304, allocations: 202.1 kB / 0.5459 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.131, allocations: 227.6 kB / 0.5461 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009204/0.1319, allocations: 0.7978 MB / 0.5469 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.1324, allocations: 239.4 kB / 0.5471 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005315/0.1329, allocations: 318.8 kB / 0.5474 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004912/0.1334, allocations: 342.4 kB / 0.5477 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.1335, allocations: 60 kB / 0.5478 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.1337, allocations: 87.98 kB / 0.5479 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.1339, allocations: 147.4 kB / 0.548 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.1343, allocations: 366.1 kB / 0.5484 GB, free: 12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009252/0.1352, allocations: 0.7895 MB / 0.5491 GB, free: 11.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1352, allocations: 0 / 0.5491 GB, free: 11.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1352, allocations: 0 / 0.5491 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.1352, allocations: 0 / 0.5491 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.001938/0.1372, allocations: 1.028 MB / 0.5501 GB, free: 10.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1372, allocations: 8.031 kB / 0.5501 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006775/0.1379, allocations: 148.3 kB / 0.5503 GB, free: 9.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/0.1385, allocations: 437.9 kB / 0.5507 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.1386, allocations: 41.69 kB / 0.5507 GB, free: 9.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.1387, allocations: 68.33 kB / 0.5508 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.1399, allocations: 0.6232 MB / 0.5514 GB, free: 8.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.1399, allocations: 7.953 kB / 0.5514 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.767e-05/0.14, allocations: 28 kB / 0.5514 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.14, allocations: 12 kB / 0.5515 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.1412, allocations: 0.519 MB / 0.552 GB, free: 8.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/0.1445, allocations: 2.159 MB / 0.5541 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.1459, allocations: 0.6915 MB / 0.5547 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.1465, allocations: 339.2 kB / 0.5551 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.1467, allocations: 97.83 kB / 0.5552 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.1468, allocations: 46.94 kB / 0.5552 GB, free: 4.629 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.436e-06/0.1468, allocations: 4 kB / 0.5552 GB, free: 4.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008669/0.1554, allocations: 4.534 MB / 0.5596 GB, free: 15.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.1556, allocations: 226.2 kB / 0.5599 GB, free: 15.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.1561, allocations: 389.9 kB / 0.5602 GB, free: 15.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.1562, allocations: 41.7 kB / 0.5603 GB, free: 15.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.1564, allocations: 289.5 kB / 0.5605 GB, free: 14.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/0.1568, allocations: 436.3 kB / 0.561 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.1571, allocations: 178.9 kB / 0.5611 GB, free: 14.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.1573, allocations: 378.8 kB / 0.5615 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.1579, allocations: 315.6 kB / 0.5618 GB, free: 13.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/0.1587, allocations: 0.4965 MB / 0.5623 GB, free: 12.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.1603, allocations: 0.8532 MB / 0.5631 GB, free: 11.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.1603, allocations: 7.938 kB / 0.5631 GB, free: 11.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001931/0.1622, allocations: 0.9984 MB / 0.5641 GB, free: 10.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.1623, allocations: 8.438 kB / 0.5641 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1623, allocations: 8 kB / 0.5641 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.1623, allocations: 12 kB / 0.5641 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009988/0.1633, allocations: 275.6 kB / 0.5644 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/0.1634, allocations: 15.94 kB / 0.5644 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.1638, allocations: 43.97 kB / 0.5644 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/0.1639, allocations: 40 kB / 0.5645 GB, free: 10.55 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.0003568/0.1643, allocations: 237.5 kB / 0.5647 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.1645, allocations: 87.53 kB / 0.5648 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.165, allocations: 222.9 kB / 0.565 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.165, allocations: 16 kB / 0.565 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.165, allocations: 3.938 kB / 0.565 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.1651, allocations: 11.97 kB / 0.565 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/0.1689, allocations: 2.33 MB / 0.5673 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.169, allocations: 4 kB / 0.5673 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.17, allocations: 248.2 kB / 0.5675 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/0.17, allocations: 11.94 kB / 0.5676 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/0.1701, allocations: 27.98 kB / 0.5676 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.1701, allocations: 11.94 kB / 0.5676 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.1701, allocations: 7.938 kB / 0.5676 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.1728, allocations: 1.882 MB / 0.5694 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.1731, allocations: 208.5 kB / 0.5696 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.1732, allocations: 24 kB / 0.5697 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005869/0.1738, allocations: 39.97 kB / 0.5697 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.174, allocations: 88.33 kB / 0.5698 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.1741, allocations: 31.98 kB / 0.5698 GB, free: 4.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003042/0.1744, allocations: 271.1 kB / 0.5701 GB, free: 4.648 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1744, allocations: 0 / 0.5701 GB, free: 4.648 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008434/0.1752, allocations: 196 kB / 0.5703 GB, free: 4.457 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.0002097/0.1755, allocations: 139.3 kB / 0.5704 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.1771, allocations: 0.8306 MB / 0.5712 GB, free: 3.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1771, allocations: 3.938 kB / 0.5712 GB, free: 3.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008691/0.1779, allocations: 496.1 kB / 0.5717 GB, free: 2.992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.1792, allocations: 137.1 kB / 0.5718 GB, free: 2.867 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.1828, allocations: 2.258 MB / 0.574 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/0.1835, allocations: 0.9518 MB / 0.575 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.1838, allocations: 71.42 kB / 0.575 GB, free: 15.47 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1838, allocations: 4 kB / 0.575 GB, free: 15.47 MB / 446.1 MB Notification: Performance of Templates: time 0.01473/0.1985, allocations: 9.246 MB / 0.5841 GB, free: 6.227 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.41957890696358]