Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.002185/0.002185, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002491/0.002491, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.583/1.583, allocations: 230.6 MB / 254.1 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.2558/0.2558, allocations: 46.93 MB / 357.1 MB, free: 10.32 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.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 71.91 kB / 0.4915 GB, free: 7.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1735, allocations: 65.99 MB / 0.5559 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003773/0.1773, allocations: 1.93 MB / 0.5578 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.1794, allocations: 1.138 MB / 0.5589 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1795, allocations: 7.938 kB / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.1801, allocations: 223.4 kB / 0.5592 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005058/0.1806, allocations: 219.2 kB / 0.5594 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.1809, allocations: 111.6 kB / 0.5595 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.1813, allocations: 259.2 kB / 0.5597 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.1814, allocations: 29.66 kB / 0.5598 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.1816, allocations: 123.6 kB / 0.5599 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.1819, allocations: 167.4 kB / 0.56 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.1819, allocations: 15.94 kB / 0.56 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1821, allocations: 59.97 kB / 0.5601 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1822, allocations: 63.7 kB / 0.5602 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1823, allocations: 91.34 kB / 0.5603 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.1827, allocations: 250.7 kB / 0.5605 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1827, allocations: 0 / 0.5605 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1827, allocations: 0 / 0.5605 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1827, allocations: 3.938 kB / 0.5605 GB, free: 0.5664 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000988/0.1837, allocations: 0.5718 MB / 0.5611 GB, free: 15.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1837, allocations: 12.03 kB / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.1838, allocations: 28.75 kB / 0.5611 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.1842, allocations: 292.2 kB / 0.5614 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1842, allocations: 384 / 0.5614 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.1843, allocations: 20.11 kB / 0.5614 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.1846, allocations: 111.3 kB / 0.5615 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.1847, allocations: 3.984 kB / 0.5615 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1847, allocations: 0 / 0.5615 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1847, allocations: 4 kB / 0.5615 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.1848, allocations: 47.91 kB / 0.5615 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.1855, allocations: 472.7 kB / 0.562 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.1859, allocations: 117.2 kB / 0.5621 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.186, allocations: 45.81 kB / 0.5622 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.1861, allocations: 8.141 kB / 0.5622 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.1863, allocations: 113 kB / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.1864, allocations: 7.938 kB / 0.5623 GB, free: 14.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001462/0.1878, allocations: 0.505 MB / 0.5628 GB, free: 14.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.1879, allocations: 81.11 kB / 0.5628 GB, free: 13.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.1884, allocations: 448.5 kB / 0.5633 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1885, allocations: 33.7 kB / 0.5633 GB, free: 13.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1886, allocations: 160.4 kB / 0.5635 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.1887, allocations: 71.42 kB / 0.5635 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.1888, allocations: 41.7 kB / 0.5636 GB, free: 13.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.189, allocations: 346.8 kB / 0.5639 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1891, allocations: 55.98 kB / 0.564 GB, free: 12.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.1893, allocations: 109.4 kB / 0.5641 GB, free: 12.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.1896, allocations: 151.4 kB / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1896, allocations: 0 / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000468/0.1901, allocations: 245.6 kB / 0.5644 GB, free: 12.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1901, allocations: 7.938 kB / 0.5644 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1901, allocations: 0 / 0.5644 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.1901, allocations: 4 kB / 0.5644 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1903, allocations: 39.92 kB / 0.5645 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1903, allocations: 4 kB / 0.5645 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-05/0.1904, allocations: 15.94 kB / 0.5645 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1904, allocations: 8 kB / 0.5645 GB, free: 12.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002072/0.1906, allocations: 173.8 kB / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.1907, allocations: 35.69 kB / 0.5647 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.991e-05/0.1908, allocations: 38.81 kB / 0.5647 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1908, allocations: 4 kB / 0.5648 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1908, allocations: 0 / 0.5648 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1908, allocations: 4 kB / 0.5648 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.1919, allocations: 0.7389 MB / 0.5655 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1919, allocations: 0 / 0.5655 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.045e-05/0.192, allocations: 31.98 kB / 0.5655 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.192, allocations: 7.938 kB / 0.5655 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.192, allocations: 7.984 kB / 0.5655 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.192, allocations: 0 / 0.5655 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.192, allocations: 7.938 kB / 0.5655 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.1926, allocations: 418 kB / 0.5659 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.1927, allocations: 112.9 kB / 0.566 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.1927, allocations: 4 kB / 0.566 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1929, allocations: 11.98 kB / 0.5661 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.1929, allocations: 31.86 kB / 0.5661 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.193, allocations: 8 kB / 0.5661 GB, free: 10.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000367/0.1933, allocations: 335 kB / 0.5664 GB, free: 10.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1933, allocations: 0 / 0.5664 GB, free: 10.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.1937, allocations: 47.92 kB / 0.5665 GB, free: 10.04 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002088/0.1958, allocations: 0.5088 MB / 0.567 GB, free: 9.734 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.1962, allocations: 155.8 kB / 0.5671 GB, free: 9.582 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1962, allocations: 0 / 0.5671 GB, free: 9.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.1964, allocations: 72.03 kB / 0.5672 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.197, allocations: 64.33 kB / 0.5672 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.198, allocations: 0.5706 MB / 0.5678 GB, free: 8.844 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.1985, allocations: 0.7753 MB / 0.5685 GB, free: 8.039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.1986, allocations: 41.92 kB / 0.5686 GB, free: 7.996 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.1987, allocations: 27.44 kB / 0.5686 GB, free: 7.969 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1987, allocations: 3.938 kB / 0.5686 GB, free: 7.965 MB / 430.1 MB Notification: Performance of Templates: time 0.008565/0.2073, allocations: 3.206 MB / 0.5717 GB, free: 4.793 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.487430743873119]