Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 120 kB / 18.46 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 212.3 kB / 21.42 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 46.92 MB / 357.8 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_4.1.0_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_4.1.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.89 kB / 0.492 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1345, allocations: 66 MB / 0.5565 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005793/0.1403, allocations: 4.177 MB / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.1429, allocations: 1.192 MB / 0.5617 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004186/0.1434, allocations: 19.88 kB / 0.5618 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.1437, allocations: 102.9 kB / 0.5619 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.1441, allocations: 206.1 kB / 0.5621 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007019/0.1448, allocations: 223.6 kB / 0.5623 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009229/0.1458, allocations: 0.7978 MB / 0.563 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.1461, allocations: 183.5 kB / 0.5632 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004648/0.1466, allocations: 330.8 kB / 0.5635 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.147, allocations: 342.5 kB / 0.5639 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.206e-05/0.1471, allocations: 56 kB / 0.5639 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.1473, allocations: 95.92 kB / 0.564 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1474, allocations: 143.5 kB / 0.5641 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.1478, allocations: 366.1 kB / 0.5645 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.1488, allocations: 0.7857 MB / 0.5653 GB, free: 12.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1488, allocations: 4 kB / 0.5653 GB, free: 12.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1488, allocations: 0 / 0.5653 GB, free: 12.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.1488, allocations: 0 / 0.5653 GB, free: 12.29 MB / 430.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.002224/0.1511, allocations: 1.028 MB / 0.5663 GB, free: 11.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1511, allocations: 12.03 kB / 0.5663 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007034/0.1518, allocations: 144.3 kB / 0.5664 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.1524, allocations: 434 kB / 0.5668 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.1525, allocations: 45.62 kB / 0.5669 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.1526, allocations: 72.31 kB / 0.5669 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.1538, allocations: 0.6155 MB / 0.5675 GB, free: 9.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/0.1539, allocations: 11.89 kB / 0.5676 GB, free: 9.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.049e-05/0.1539, allocations: 24 kB / 0.5676 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.1539, allocations: 19.94 kB / 0.5676 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.1551, allocations: 0.5213 MB / 0.5681 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/0.1584, allocations: 2.171 MB / 0.5702 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.1597, allocations: 0.649 MB / 0.5709 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/0.1603, allocations: 322.7 kB / 0.5712 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.1605, allocations: 93.53 kB / 0.5713 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.1605, allocations: 46.94 kB / 0.5713 GB, free: 5.758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.374e-06/0.1605, allocations: 4 kB / 0.5713 GB, free: 5.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.008597/0.1691, allocations: 4.54 MB / 0.5757 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.1692, allocations: 218.3 kB / 0.576 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.1697, allocations: 389.9 kB / 0.5763 GB, free: 216 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.92e-05/0.1698, allocations: 45.69 kB / 0.5764 GB, free: 164 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.1701, allocations: 285.6 kB / 0.5766 GB, free: 15.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/0.1705, allocations: 436.2 kB / 0.5771 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/0.1708, allocations: 186.9 kB / 0.5772 GB, free: 15.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002412/0.171, allocations: 378.8 kB / 0.5776 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.1717, allocations: 310.5 kB / 0.5779 GB, free: 14.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009203/0.1726, allocations: 0.4965 MB / 0.5784 GB, free: 14.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.1741, allocations: 0.8623 MB / 0.5792 GB, free: 13.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.1742, allocations: 4 kB / 0.5792 GB, free: 13.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001851/0.176, allocations: 0.9961 MB / 0.5802 GB, free: 12.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.176, allocations: 8.438 kB / 0.5802 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.176, allocations: 8 kB / 0.5802 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.1761, allocations: 12 kB / 0.5802 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.1771, allocations: 275.9 kB / 0.5805 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.1771, allocations: 8.234 kB / 0.5805 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.1776, allocations: 51.91 kB / 0.5805 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.1777, allocations: 51.91 kB / 0.5806 GB, free: 11.67 MB / 446.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.0003518/0.178, allocations: 235.7 kB / 0.5808 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.1782, allocations: 87.47 kB / 0.5809 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.1787, allocations: 219 kB / 0.5811 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.1788, allocations: 16 kB / 0.5811 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.1788, allocations: 0 / 0.5811 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.1788, allocations: 7.984 kB / 0.5811 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.1826, allocations: 2.324 MB / 0.5834 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1826, allocations: 0 / 0.5834 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.1836, allocations: 248 kB / 0.5836 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.1836, allocations: 19.88 kB / 0.5837 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.327e-05/0.1837, allocations: 24 kB / 0.5837 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/0.1837, allocations: 11.98 kB / 0.5837 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1837, allocations: 4 kB / 0.5837 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.1864, allocations: 1.882 MB / 0.5855 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.1867, allocations: 212.5 kB / 0.5857 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.991e-05/0.1868, allocations: 27.98 kB / 0.5858 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005866/0.1874, allocations: 31.98 kB / 0.5858 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.1875, allocations: 88.39 kB / 0.5859 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.1876, allocations: 31.98 kB / 0.5859 GB, free: 6.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003179/0.1879, allocations: 271.3 kB / 0.5862 GB, free: 5.785 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1879, allocations: 3.938 kB / 0.5862 GB, free: 5.781 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000921/0.1888, allocations: 200 kB / 0.5864 GB, free: 5.586 MB / 446.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.0002101/0.189, allocations: 135.1 kB / 0.5865 GB, free: 5.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.1907, allocations: 0.8031 MB / 0.5873 GB, free: 4.645 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.1907, allocations: 0 / 0.5873 GB, free: 4.645 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000853/0.1916, allocations: 464.1 kB / 0.5877 GB, free: 4.191 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.1928, allocations: 126.6 kB / 0.5878 GB, free: 4.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.1966, allocations: 2.267 MB / 0.5901 GB, free: 1.715 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.1972, allocations: 0.9479 MB / 0.591 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.1975, allocations: 79.41 kB / 0.5911 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of SimCode: time 1.793e-06/0.1975, allocations: 0 / 0.5911 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of Templates: time 0.2811/0.4786, allocations: 9.269 MB / 0.6001 GB, free: 32.86 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.938638260995504]