Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.0008764/0.0008764, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.004264/0.004264, allocations: 161.1 kB / 24.7 MB, free: 9.438 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.9/0.9, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2727/0.2727, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.911e-05, allocations: 6.219 kB / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002189/0.002218, allocations: 1.591 MB / 442.5 MB, free: 2.125 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.00336, allocations: 1.235 MB / 443.7 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.003416, allocations: 4 kB / 443.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.003633, allocations: 23.84 kB / 443.7 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.003897, allocations: 87.5 kB / 443.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.00408, allocations: 95.62 kB / 443.9 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.004215, allocations: 75.7 kB / 444 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.004308, allocations: 7.984 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.767e-05/0.004365, allocations: 31.92 kB / 444 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.004466, allocations: 31.89 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.004481, allocations: 4 kB / 444.1 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.004604, allocations: 83.88 kB / 444.1 MB, free: 456 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.004652, allocations: 15.88 kB / 444.1 MB, free: 440 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.004679, allocations: 15.92 kB / 444.2 MB, free: 424 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.004878, allocations: 147.5 kB / 444.3 MB, free: 276 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00488, allocations: 4 kB / 444.3 MB, free: 272 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.004881, allocations: 0 / 444.3 MB, free: 272 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004885, allocations: 4 kB / 444.3 MB, free: 268 kB / 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.1729/0.1778, allocations: 322.1 kB / 444.6 MB, free: 46.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1779, allocations: 9.312 kB / 444.6 MB, free: 46.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.1779, allocations: 8.109 kB / 444.6 MB, free: 46.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.178, allocations: 131.8 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.178, allocations: 3.281 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.1781, allocations: 1.75 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.1782, allocations: 91.69 kB / 444.9 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1782, allocations: 8 kB / 444.9 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1782, allocations: 0.75 kB / 444.9 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1782, allocations: 1.625 kB / 444.9 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.1783, allocations: 25.14 kB / 444.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.1785, allocations: 219.5 kB / 445.1 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1786, allocations: 47.08 kB / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.1787, allocations: 12.8 kB / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1787, allocations: 0.5625 kB / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.1787, allocations: 39.81 kB / 445.2 MB, free: 46.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1787, allocations: 0 / 445.2 MB, free: 46.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000364/0.1791, allocations: 144.8 kB / 445.4 MB, free: 46.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.1791, allocations: 83.55 kB / 445.4 MB, free: 46.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.1792, allocations: 141.3 kB / 445.6 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.1792, allocations: 29.67 kB / 445.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/0.1792, allocations: 93.08 kB / 445.7 MB, free: 45.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.1792, allocations: 20.56 kB / 445.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.1792, allocations: 21.17 kB / 445.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.694e-05/0.1793, allocations: 317.5 kB / 446 MB, free: 45.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.1793, allocations: 16.78 kB / 446.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.1793, allocations: 60.5 kB / 446.1 MB, free: 45.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.193e-05/0.1794, allocations: 49.53 kB / 446.2 MB, free: 45.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1794, allocations: 3.562 kB / 446.2 MB, free: 45.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.377e-05/0.1795, allocations: 87.09 kB / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1795, allocations: 6.719 kB / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1795, allocations: 7.031 kB / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1795, allocations: 0 / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.751e-05/0.1796, allocations: 11.75 kB / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1796, allocations: 3.422 kB / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.1796, allocations: 8.031 kB / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1796, allocations: 3.469 kB / 446.3 MB, free: 45.47 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.94e-05/0.1796, allocations: 115.6 kB / 446.4 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.1797, allocations: 14.03 kB / 446.4 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.1798, allocations: 88.05 kB / 446.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1798, allocations: 2.625 kB / 446.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1798, allocations: 0 / 446.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1798, allocations: 7.172 kB / 446.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.18, allocations: 290.5 kB / 446.8 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.18, allocations: 0 / 446.8 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.18, allocations: 17.47 kB / 446.8 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.18, allocations: 2.156 kB / 446.8 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.18, allocations: 0 / 446.8 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.18, allocations: 4.906 kB / 446.8 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.18, allocations: 0 / 446.8 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.856e-05/0.1801, allocations: 187 kB / 447 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.1801, allocations: 9.875 kB / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.1801, allocations: 0 / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/0.1802, allocations: 10.61 kB / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.1802, allocations: 0 / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1802, allocations: 2.562 kB / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.078e-05/0.1802, allocations: 118.7 kB / 447.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1802, allocations: 0 / 447.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.1804, allocations: 41.84 kB / 447.2 MB, free: 44.86 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.0007477/0.1812, allocations: 0.5241 MB / 447.7 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.1813, allocations: 47.78 kB / 447.8 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.1813, allocations: 0 / 447.8 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.1813, allocations: 24.39 kB / 447.8 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.1816, allocations: 19.39 kB / 447.8 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.1818, allocations: 198.5 kB / 448 MB, free: 44.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.77e-05/0.1819, allocations: 81.08 kB / 448.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.1819, allocations: 24.55 kB / 448.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.1819, allocations: 0.6562 kB / 448.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of Templates: time 0.002357/0.1843, allocations: 1.958 MB / 450.1 MB, free: 44.22 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.774575254879892]