Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001521/0.001521, allocations: 124.5 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.001565/0.001565, allocations: 207.2 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.545/1.545, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2973/0.2973, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 67.89 kB / 0.4914 GB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1746, allocations: 66 MB / 0.5559 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003799/0.1784, allocations: 1.591 MB / 0.5574 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1798, allocations: 0.5455 MB / 0.558 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.1799, allocations: 4 kB / 0.558 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.1802, allocations: 31.78 kB / 0.558 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.1806, allocations: 79.61 kB / 0.5581 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1809, allocations: 107.7 kB / 0.5582 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1811, allocations: 63.78 kB / 0.5582 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1812, allocations: 15.98 kB / 0.5583 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/0.1813, allocations: 23.91 kB / 0.5583 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.1814, allocations: 27.86 kB / 0.5583 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1814, allocations: 0 / 0.5583 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.134e-05/0.1815, allocations: 32 kB / 0.5583 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.1816, allocations: 15.92 kB / 0.5583 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.1816, allocations: 27.8 kB / 0.5584 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1818, allocations: 87.53 kB / 0.5585 GB, free: 2.637 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1818, allocations: 0 / 0.5585 GB, free: 2.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1818, allocations: 4 kB / 0.5585 GB, free: 2.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1818, allocations: 0 / 0.5585 GB, free: 2.633 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006754/0.1825, allocations: 386.9 kB / 0.5588 GB, free: 2.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1826, allocations: 16.03 kB / 0.5588 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.1826, allocations: 4.891 kB / 0.5589 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.1829, allocations: 192.3 kB / 0.559 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1829, allocations: 4.359 kB / 0.559 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.1829, allocations: 4.375 kB / 0.559 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1831, allocations: 53.75 kB / 0.5591 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1831, allocations: 0 / 0.5591 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1831, allocations: 8 kB / 0.5591 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1831, allocations: 0 / 0.5591 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1832, allocations: 27.97 kB / 0.5591 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.1837, allocations: 280.9 kB / 0.5594 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.184, allocations: 50.5 kB / 0.5594 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.1841, allocations: 12.94 kB / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1841, allocations: 0 / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.1841, allocations: 42.56 kB / 0.5595 GB, free: 1.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1841, allocations: 0 / 0.5595 GB, free: 1.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007375/0.1848, allocations: 153.3 kB / 0.5596 GB, free: 1.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.1849, allocations: 51.41 kB / 0.5597 GB, free: 1.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1851, allocations: 169.8 kB / 0.5599 GB, free: 1.016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1851, allocations: 29.7 kB / 0.5599 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.1852, allocations: 100.1 kB / 0.56 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1852, allocations: 19.8 kB / 0.56 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.1853, allocations: 17.7 kB / 0.56 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1854, allocations: 318.8 kB / 0.5603 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.1855, allocations: 23.97 kB / 0.5603 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.1856, allocations: 19.98 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1857, allocations: 60.77 kB / 0.5604 GB, free: 420 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1857, allocations: 3.938 kB / 0.5604 GB, free: 416 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002159/0.1859, allocations: 85.61 kB / 0.5605 GB, free: 324 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.186, allocations: 8 kB / 0.5605 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.186, allocations: 3.984 kB / 0.5605 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.186, allocations: 0 / 0.5605 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.954e-05/0.186, allocations: 11.98 kB / 0.5605 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1861, allocations: 0 / 0.5605 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.1861, allocations: 11.94 kB / 0.5605 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.1861, allocations: 4 kB / 0.5605 GB, free: 284 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001022/0.1862, allocations: 120 kB / 0.5607 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.1863, allocations: 11.95 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.1865, allocations: 98.16 kB / 0.5608 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1865, allocations: 0 / 0.5608 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1866, allocations: 4.062 kB / 0.5608 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.1866, allocations: 11.92 kB / 0.5608 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.1871, allocations: 358.5 kB / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1871, allocations: 0 / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.1871, allocations: 8 kB / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1872, allocations: 4 kB / 0.5611 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1872, allocations: 7.922 kB / 0.5611 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1872, allocations: 0 / 0.5611 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1872, allocations: 0 / 0.5611 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.1875, allocations: 187.5 kB / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.1875, allocations: 81.06 kB / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1875, allocations: 7.938 kB / 0.5614 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.77e-05/0.1876, allocations: 0 / 0.5614 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.1877, allocations: 7.984 kB / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1877, allocations: 0 / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1878, allocations: 134.2 kB / 0.5615 GB, free: 15.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1878, allocations: 3.938 kB / 0.5615 GB, free: 15.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.188, allocations: 19.95 kB / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001607/0.1896, allocations: 405.7 kB / 0.5619 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.1899, allocations: 51.95 kB / 0.562 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1899, allocations: 0 / 0.562 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.706e-05/0.19, allocations: 35.92 kB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1904, allocations: 15.98 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005611/0.1909, allocations: 190 kB / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.1914, allocations: 0.7002 MB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.1914, allocations: 19.77 kB / 0.5629 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.1915, allocations: 15.44 kB / 0.5629 GB, free: 13.81 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1915, allocations: 0 / 0.5629 GB, free: 13.81 MB / 430.1 MB Notification: Performance of Templates: time 0.004603/0.1961, allocations: 1.142 MB / 0.5641 GB, free: 12.67 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.460037779062986]