Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.0007965/0.0007965, 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.003028/0.003028, allocations: 160.4 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.8223/0.8223, allocations: 177.1 MB / 205 MB, free: 5.738 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.2312/0.2312, allocations: 34.24 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.CombiTable1Ds.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 443.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.668e-05, allocations: 2.281 kB / 443.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.1769/0.1769, allocations: 1.627 MB / 445.1 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009674/0.1779, allocations: 0.5441 MB / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.084e-05/0.178, allocations: 0 / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.1783, allocations: 102.8 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.1786, allocations: 110.4 kB / 445.8 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1788, allocations: 96.91 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.179, allocations: 103.8 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1791, allocations: 22.03 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.1792, allocations: 54.09 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1793, allocations: 56.7 kB / 446.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1794, allocations: 2.625 kB / 446.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.547e-05/0.1795, allocations: 54.27 kB / 446.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.1795, allocations: 30.42 kB / 446.3 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.1796, allocations: 17.89 kB / 446.3 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.1798, allocations: 127.8 kB / 446.4 MB, free: 43.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1798, allocations: 0.5312 kB / 446.4 MB, free: 43.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1798, allocations: 4.375 kB / 446.4 MB, free: 43.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1798, allocations: 0 / 446.4 MB, free: 43.4 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004189/0.1802, allocations: 354.2 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1802, allocations: 9.812 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.1803, allocations: 14.59 kB / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.1804, allocations: 150.2 kB / 446.9 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1804, allocations: 3.719 kB / 446.9 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1805, allocations: 5.812 kB / 446.9 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1806, allocations: 82.05 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1806, allocations: 192 / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1807, allocations: 7.062 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1807, allocations: 0 / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/0.1808, allocations: 41.06 kB / 447.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.181, allocations: 263 kB / 447.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.1811, allocations: 68.33 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.1812, allocations: 24.53 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1812, allocations: 1.219 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.1812, allocations: 33.47 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1812, allocations: 0 / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000612/0.1818, allocations: 312.7 kB / 447.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.1818, allocations: 58.19 kB / 447.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.182, allocations: 235.2 kB / 448 MB, free: 42.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.182, allocations: 27.2 kB / 448.1 MB, free: 42.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.182, allocations: 108.8 kB / 448.2 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.182, allocations: 56.73 kB / 448.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.182, allocations: 22.56 kB / 448.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.1821, allocations: 335.4 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.1821, allocations: 32.11 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.327e-05/0.1822, allocations: 45.16 kB / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1823, allocations: 82.64 kB / 448.7 MB, free: 41.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1823, allocations: 0 / 448.7 MB, free: 41.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001308/0.1824, allocations: 143.8 kB / 448.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1824, allocations: 5.312 kB / 448.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1824, allocations: 3.938 kB / 448.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1824, allocations: 0 / 448.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.608e-05/0.1825, allocations: 28.53 kB / 448.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1825, allocations: 3.047 kB / 448.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.1825, allocations: 13.64 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.1825, allocations: 9.688 kB / 448.9 MB, free: 41.57 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 (13): * Single equations (assignments): 13 * 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 5.244e-05/0.1826, allocations: 133 kB / 449.1 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.1826, allocations: 16.88 kB / 449.1 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.1828, allocations: 164.8 kB / 449.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1828, allocations: 0 / 449.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1828, allocations: 2.875 kB / 449.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1828, allocations: 0 / 449.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.1831, allocations: 409.6 kB / 449.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1831, allocations: 0 / 449.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/0.1832, allocations: 34.64 kB / 449.7 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1832, allocations: 2.75 kB / 449.7 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1832, allocations: 11.06 kB / 449.7 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1832, allocations: 2.625 kB / 449.7 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1832, allocations: 0 / 449.7 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.1833, allocations: 239.3 kB / 449.9 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.1833, allocations: 13.59 kB / 449.9 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1833, allocations: 7.938 kB / 449.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.775e-05/0.1834, allocations: 9.781 kB / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.1834, allocations: 9.281 kB / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1834, allocations: 6.938 kB / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.238e-05/0.1835, allocations: 185.3 kB / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1835, allocations: 0 / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001659/0.1836, allocations: 29.34 kB / 450.2 MB, free: 40.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0007577/0.1844, allocations: 496.4 kB / 450.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.1845, allocations: 90.73 kB / 450.8 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1845, allocations: 2.906 kB / 450.8 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.1846, allocations: 50.67 kB / 450.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.1849, allocations: 20.14 kB / 450.8 MB, free: 40.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.1852, allocations: 352 kB / 451.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.189e-05/0.1853, allocations: 100.7 kB / 451.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.1853, allocations: 23.94 kB / 451.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1853, allocations: 0 / 451.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of Templates: time 0.002541/0.1879, allocations: 2.135 MB / 453.4 MB, free: 39.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.718825404532254]