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.001904/0.001904, allocations: 120.5 kB / 17.79 MB, free: 5.133 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.002444/0.002444, allocations: 215.2 kB / 20.75 MB, free: 2.18 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.549/1.549, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2809/0.2809, allocations: 46.93 MB / 357.1 MB, free: 10.34 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.002266/0.002266, allocations: 63.91 kB / 0.4914 GB, free: 7.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1383, allocations: 66 MB / 0.5558 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006527/0.1449, allocations: 4.179 MB / 0.5599 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.1479, allocations: 1.184 MB / 0.5611 GB, free: 12 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/0.1484, allocations: 19.98 kB / 0.5611 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004638/0.1489, allocations: 98.95 kB / 0.5612 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007302/0.1496, allocations: 214.1 kB / 0.5614 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008528/0.1505, allocations: 231.5 kB / 0.5616 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009966/0.1515, allocations: 0.7938 MB / 0.5624 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.1518, allocations: 179.5 kB / 0.5626 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005293/0.1524, allocations: 334.8 kB / 0.5629 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.1528, allocations: 338.5 kB / 0.5632 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.153, allocations: 60 kB / 0.5633 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.1532, allocations: 87.98 kB / 0.5633 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.1533, allocations: 151.4 kB / 0.5635 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.1537, allocations: 362.1 kB / 0.5638 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1547, allocations: 0.7857 MB / 0.5646 GB, free: 12.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1547, allocations: 0 / 0.5646 GB, free: 12.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1547, allocations: 0 / 0.5646 GB, free: 12.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.1547, allocations: 7.938 kB / 0.5646 GB, free: 12.38 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.002188/0.1569, allocations: 1.02 MB / 0.5656 GB, free: 11.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.157, allocations: 8.031 kB / 0.5656 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007413/0.1577, allocations: 152.3 kB / 0.5658 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006751/0.1584, allocations: 430 kB / 0.5662 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-05/0.1584, allocations: 49.69 kB / 0.5662 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.1586, allocations: 64.33 kB / 0.5663 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.1598, allocations: 0.6193 MB / 0.5669 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.1599, allocations: 11.95 kB / 0.5669 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.048e-05/0.1599, allocations: 28 kB / 0.5669 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.1599, allocations: 12 kB / 0.5669 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.1612, allocations: 0.519 MB / 0.5674 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/0.1648, allocations: 2.171 MB / 0.5696 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.1662, allocations: 0.6602 MB / 0.5702 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006616/0.1669, allocations: 311.2 kB / 0.5705 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.1671, allocations: 97.8 kB / 0.5706 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.1671, allocations: 54.97 kB / 0.5706 GB, free: 5.836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.925e-06/0.1671, allocations: 0 / 0.5706 GB, free: 5.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.009378/0.1765, allocations: 4.531 MB / 0.5751 GB, free: 0.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.1767, allocations: 230.3 kB / 0.5753 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/0.1772, allocations: 389.9 kB / 0.5757 GB, free: 296 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/0.1772, allocations: 45.7 kB / 0.5757 GB, free: 244 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.1775, allocations: 289.6 kB / 0.576 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003692/0.1779, allocations: 432.2 kB / 0.5764 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/0.1782, allocations: 174.9 kB / 0.5766 GB, free: 15.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.1784, allocations: 386.8 kB / 0.5769 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000695/0.1791, allocations: 310.4 kB / 0.5772 GB, free: 14.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008896/0.18, allocations: 0.5004 MB / 0.5777 GB, free: 14.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.1816, allocations: 0.8623 MB / 0.5786 GB, free: 13.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1816, allocations: 0 / 0.5786 GB, free: 13.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002052/0.1837, allocations: 0.996 MB / 0.5795 GB, free: 12.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1837, allocations: 8 kB / 0.5795 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1837, allocations: 4 kB / 0.5795 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/0.1838, allocations: 12 kB / 0.5796 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.1849, allocations: 276 kB / 0.5798 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.989e-05/0.1849, allocations: 16 kB / 0.5798 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.1854, allocations: 47.97 kB / 0.5799 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.06e-05/0.1855, allocations: 37.48 kB / 0.5799 GB, free: 11.77 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.0003945/0.1859, allocations: 232 kB / 0.5801 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.1861, allocations: 87.41 kB / 0.5802 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005437/0.1867, allocations: 226.9 kB / 0.5804 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.1867, allocations: 12 kB / 0.5804 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.1867, allocations: 0 / 0.5804 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.1867, allocations: 11.97 kB / 0.5805 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004085/0.1908, allocations: 2.325 MB / 0.5827 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.1908, allocations: 4 kB / 0.5827 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.1919, allocations: 247.6 kB / 0.583 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.1919, allocations: 8 kB / 0.583 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.192, allocations: 31.98 kB / 0.583 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.54e-05/0.192, allocations: 16 kB / 0.583 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.192, allocations: 4.281 kB / 0.583 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.1948, allocations: 1.882 MB / 0.5849 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.1951, allocations: 208.6 kB / 0.5851 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/0.1952, allocations: 24 kB / 0.5851 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.1958, allocations: 43.95 kB / 0.5851 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.196, allocations: 88.33 kB / 0.5852 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.285e-05/0.1961, allocations: 35.98 kB / 0.5852 GB, free: 6.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003403/0.1964, allocations: 267.1 kB / 0.5855 GB, free: 5.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1964, allocations: 0 / 0.5855 GB, free: 5.871 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009233/0.1973, allocations: 200.1 kB / 0.5857 GB, free: 5.676 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.000203/0.1975, allocations: 135 kB / 0.5858 GB, free: 5.535 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.1993, allocations: 0.8041 MB / 0.5866 GB, free: 4.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1993, allocations: 3.938 kB / 0.5866 GB, free: 4.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000932/0.2002, allocations: 462.7 kB / 0.587 GB, free: 4.277 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.2015, allocations: 138 kB / 0.5872 GB, free: 4.148 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.2056, allocations: 2.218 MB / 0.5893 GB, free: 1.848 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007972/0.2064, allocations: 0.9518 MB / 0.5903 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004384/0.2069, allocations: 113.9 kB / 0.5904 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.2071, allocations: 63.42 kB / 0.5904 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2071, allocations: 0 / 0.5904 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of Templates: time 0.2682/0.4753, allocations: 7.675 MB / 0.5979 GB, free: 33.66 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/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: 5.896074663847685]