Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001039/0.001039, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00393/0.00393, allocations: 161.2 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8526/0.8526, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.243/0.243, allocations: 34.25 MB / 295.7 MB, free: 0.6914 MB / 266.7 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.331e-05, allocations: 2.281 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.1781/0.1781, allocations: 1.606 MB / 445.1 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1792, allocations: 1.255 MB / 446.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.1793, allocations: 2.188 kB / 446.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.1795, allocations: 24.72 kB / 446.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.1797, allocations: 89.31 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.1799, allocations: 107.6 kB / 446.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.18, allocations: 89.62 kB / 446.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.1801, allocations: 21 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.1801, allocations: 32.45 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/0.1802, allocations: 39.06 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1802, allocations: 5.062 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1803, allocations: 87.88 kB / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.1804, allocations: 24.36 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.1804, allocations: 16.88 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.1806, allocations: 166.2 kB / 447 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1806, allocations: 0 / 447 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1806, allocations: 0 / 447 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1806, allocations: 0 / 447 MB, free: 42.98 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003293/0.1809, allocations: 332.3 kB / 447.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.181, allocations: 8 kB / 447.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.181, allocations: 21.36 kB / 447.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1811, allocations: 136.7 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1811, allocations: 3 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.1811, allocations: 6.906 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1813, allocations: 109.9 kB / 447.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1813, allocations: 3.031 kB / 447.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1813, allocations: 8.125 kB / 447.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1813, allocations: 0 / 447.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.79e-05/0.1813, allocations: 31.22 kB / 447.7 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.1816, allocations: 252.5 kB / 447.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.088e-05/0.1817, allocations: 59.48 kB / 448 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.1817, allocations: 24.31 kB / 448 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1817, allocations: 0 / 448 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.1817, allocations: 41.5 kB / 448 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 6.71e-07/0.1817, allocations: 0 / 448 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003981/0.1821, allocations: 192.9 kB / 448.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.1821, allocations: 83.73 kB / 448.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.1822, allocations: 154.9 kB / 448.4 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.1822, allocations: 25.7 kB / 448.5 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.1823, allocations: 99.58 kB / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.1823, allocations: 33.62 kB / 448.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.1823, allocations: 21.75 kB / 448.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.956e-05/0.1823, allocations: 324.9 kB / 448.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.1824, allocations: 34.69 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.707e-05/0.1824, allocations: 68.59 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.908e-05/0.1825, allocations: 65.66 kB / 449.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1825, allocations: 2.75 kB / 449.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001084/0.1826, allocations: 107 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1826, allocations: 5.844 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1826, allocations: 0 / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1826, allocations: 6.969 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.1827, allocations: 14.8 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.1827, allocations: 2.969 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.1827, allocations: 10.5 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1827, allocations: 2.969 kB / 449.3 MB, free: 41.16 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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 4.351e-05/0.1828, allocations: 120.3 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.1828, allocations: 6.828 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.183, allocations: 136.8 kB / 449.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.183, allocations: 6.938 kB / 449.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.183, allocations: 0 / 449.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.183, allocations: 5.156 kB / 449.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.1832, allocations: 342.6 kB / 449.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1832, allocations: 0 / 449.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.1832, allocations: 25.91 kB / 449.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1832, allocations: 0 / 449.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1832, allocations: 3 kB / 449.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1832, allocations: 4 kB / 449.9 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1832, allocations: 0 / 449.9 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.1833, allocations: 208.4 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.1834, allocations: 8.734 kB / 450.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1834, allocations: 2.75 kB / 450.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.1834, allocations: 9.625 kB / 450.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.1834, allocations: 2.656 kB / 450.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.1834, allocations: 12.94 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.903e-05/0.1835, allocations: 116 kB / 450.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1835, allocations: 4 kB / 450.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.1837, allocations: 33.53 kB / 450.3 MB, free: 40.41 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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.000931/0.1846, allocations: 0.5446 MB / 450.8 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.1848, allocations: 68.06 kB / 450.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1848, allocations: 0 / 450.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.955e-05/0.1848, allocations: 41.45 kB / 450.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.1851, allocations: 16.09 kB / 450.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.1854, allocations: 231.5 kB / 451.2 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.631e-05/0.1855, allocations: 86.31 kB / 451.3 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.1855, allocations: 27.2 kB / 451.3 MB, free: 39.92 MB / 410.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1855, allocations: 0 / 451.3 MB, free: 39.92 MB / 410.7 MB Notification: Performance of Templates: time 0.002555/0.188, allocations: 2.225 MB / 453.5 MB, free: 39.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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: 4.669899241998792]