Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.0008575/0.0008575, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004569/0.004569, allocations: 163.5 kB / 24.7 MB, free: 9.426 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.9012/0.9012, allocations: 177.1 MB / 205 MB, free: 5.727 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.2476/0.2476, allocations: 34.26 MB / 295.7 MB, free: 0.6836 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.151e-05, allocations: 3.828 kB / 443.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.1776/0.1776, allocations: 1.596 MB / 445.1 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1788, allocations: 1.247 MB / 446.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.1788, allocations: 0 / 446.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.179, allocations: 28.05 kB / 446.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.1792, allocations: 87.78 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.1794, allocations: 114.1 kB / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1795, allocations: 70.58 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.1796, allocations: 10.12 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.1797, allocations: 34.17 kB / 446.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.1797, allocations: 26.14 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1798, allocations: 10.2 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.1798, allocations: 93.09 kB / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.1799, allocations: 13.81 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.1799, allocations: 17.19 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.1801, allocations: 139 kB / 446.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1801, allocations: 6.75 kB / 446.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1801, allocations: 0 / 446.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1801, allocations: 0.7188 kB / 446.9 MB, free: 42.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003085/0.1804, allocations: 329.1 kB / 447.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1804, allocations: 10.06 kB / 447.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.1805, allocations: 7.547 kB / 447.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1806, allocations: 132.2 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.1806, allocations: 384 / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1806, allocations: 3.094 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.1807, allocations: 90.12 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1807, allocations: 6.766 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1807, allocations: 7 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1807, allocations: 3.938 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.1808, allocations: 25.09 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.181, allocations: 224.3 kB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1811, allocations: 48.44 kB / 447.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.1812, allocations: 24.05 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1812, allocations: 3.938 kB / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.1812, allocations: 32.91 kB / 447.9 MB, free: 42.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1812, allocations: 0 / 447.9 MB, free: 42.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003376/0.1815, allocations: 157.5 kB / 448 MB, free: 42.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.1816, allocations: 77.11 kB / 448.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.1816, allocations: 146.7 kB / 448.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.1816, allocations: 29.7 kB / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.353e-05/0.1817, allocations: 90.31 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.1817, allocations: 18.42 kB / 448.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.1817, allocations: 22.44 kB / 448.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.705e-05/0.1817, allocations: 320.9 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.408e-05/0.1818, allocations: 17.48 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/0.1818, allocations: 65.38 kB / 448.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.247e-05/0.1819, allocations: 54.38 kB / 448.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1819, allocations: 3.938 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.772e-05/0.182, allocations: 95.47 kB / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.182, allocations: 8.375 kB / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.182, allocations: 0 / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.182, allocations: 0 / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.418e-05/0.182, allocations: 11.81 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.182, allocations: 0 / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.182, allocations: 8.969 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.1821, allocations: 3.047 kB / 449 MB, free: 41.25 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 (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 3.834e-05/0.1821, allocations: 124.8 kB / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.1821, allocations: 6.547 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.1822, allocations: 107.9 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1822, allocations: 0 / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1822, allocations: 2.719 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1822, allocations: 0 / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1824, allocations: 296.1 kB / 449.5 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1824, allocations: 0 / 449.5 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.1825, allocations: 21.5 kB / 449.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1825, allocations: 0 / 449.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.1825, allocations: 0 / 449.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1825, allocations: 10.91 kB / 449.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1825, allocations: 0 / 449.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.975e-05/0.1825, allocations: 183.2 kB / 449.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-06/0.1826, allocations: 6.891 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1826, allocations: 7.875 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.1826, allocations: 6.188 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.1826, allocations: 6.938 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1826, allocations: 2.938 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.855e-05/0.1827, allocations: 111.5 kB / 449.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1827, allocations: 0 / 449.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.1828, allocations: 34.84 kB / 449.9 MB, free: 40.54 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 (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.000715/0.1835, allocations: 0.5256 MB / 450.4 MB, free: 40.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.1837, allocations: 66.03 kB / 450.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.1837, allocations: 0 / 450.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.187e-05/0.1837, allocations: 28.91 kB / 450.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.1839, allocations: 16.05 kB / 450.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.1842, allocations: 201.5 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.642e-05/0.1842, allocations: 83.66 kB / 450.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.1843, allocations: 13.28 kB / 450.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1843, allocations: 2.562 kB / 450.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of Templates: time 0.002177/0.1864, allocations: 2 MB / 452.8 MB, free: 39.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.641722286120057]