Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.0008744/0.0008744, 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.003648/0.003648, allocations: 160.6 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.8743/0.8743, 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.2612/0.2612, allocations: 32.79 MB / 294.2 MB, free: 1.191 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.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.68e-05, allocations: 2.281 kB / 440.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.0025/0.002527, allocations: 1.72 MB / 442.7 MB, free: 1.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003615, allocations: 0.9703 MB / 443.6 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.003688, allocations: 0 / 443.6 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.003978, allocations: 55.69 kB / 443.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.004259, allocations: 103.5 kB / 443.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.004419, allocations: 83.59 kB / 443.9 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.004583, allocations: 107.6 kB / 444 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.004682, allocations: 8 kB / 444 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.00477, allocations: 55.83 kB / 444 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.004844, allocations: 27.91 kB / 444.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.00486, allocations: 4 kB / 444.1 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.237e-05/0.004942, allocations: 47.91 kB / 444.1 MB, free: 460 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.005, allocations: 31.86 kB / 444.1 MB, free: 428 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.005037, allocations: 15.94 kB / 444.2 MB, free: 412 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.005229, allocations: 147.4 kB / 444.3 MB, free: 264 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005232, allocations: 0 / 444.3 MB, free: 264 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.005233, allocations: 0 / 444.3 MB, free: 264 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.005238, allocations: 0 / 444.3 MB, free: 264 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.1731/0.1783, allocations: 369.6 kB / 444.7 MB, free: 46.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1784, allocations: 9.312 kB / 444.7 MB, free: 46.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.1784, allocations: 14.66 kB / 444.7 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.1787, allocations: 162.6 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1787, allocations: 6.359 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1787, allocations: 384 / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1788, allocations: 60.02 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1788, allocations: 0 / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1789, allocations: 3.656 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1789, allocations: 0 / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.324e-05/0.1789, allocations: 24.73 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.1792, allocations: 239.7 kB / 445.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1793, allocations: 59.48 kB / 445.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.1793, allocations: 21.39 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1794, allocations: 1 kB / 445.3 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.1795, allocations: 71.27 kB / 445.3 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1795, allocations: 0 / 445.3 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004182/0.1799, allocations: 205.5 kB / 445.5 MB, free: 46.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.1799, allocations: 51.41 kB / 445.6 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1801, allocations: 275 kB / 445.8 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.1801, allocations: 28.92 kB / 445.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.1801, allocations: 118.8 kB / 446 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.1801, allocations: 23.73 kB / 446 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.1802, allocations: 27.2 kB / 446 MB, free: 45.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.1802, allocations: 329.3 kB / 446.4 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.534e-05/0.1802, allocations: 22.64 kB / 446.4 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.1803, allocations: 36.62 kB / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.783e-05/0.1803, allocations: 64.56 kB / 446.5 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1803, allocations: 0 / 446.5 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001072/0.1805, allocations: 116.3 kB / 446.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1805, allocations: 5.125 kB / 446.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1805, allocations: 0 / 446.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1805, allocations: 3.469 kB / 446.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.1806, allocations: 25.47 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1806, allocations: 0 / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.1806, allocations: 5.953 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1806, allocations: 2.969 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.689e-05/0.1807, allocations: 134.1 kB / 446.8 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.1807, allocations: 28.23 kB / 446.8 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.1808, allocations: 126.1 kB / 446.9 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1808, allocations: 2.875 kB / 446.9 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1808, allocations: 0 / 446.9 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1808, allocations: 0 / 446.9 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.1811, allocations: 363.3 kB / 447.3 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1811, allocations: 6.125 kB / 447.3 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.1811, allocations: 11.88 kB / 447.3 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1811, allocations: 3.438 kB / 447.3 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1811, allocations: 2.969 kB / 447.3 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1811, allocations: 0 / 447.3 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1811, allocations: 0 / 447.3 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.1812, allocations: 218.4 kB / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.1812, allocations: 16.88 kB / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1813, allocations: 10.22 kB / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.1813, allocations: 0 / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.1813, allocations: 10.11 kB / 447.5 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1813, allocations: 9.312 kB / 447.6 MB, free: 44.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.984e-05/0.1814, allocations: 212.1 kB / 447.8 MB, free: 44.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1814, allocations: 1.688 kB / 447.8 MB, free: 44.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.1816, allocations: 25.56 kB / 447.8 MB, free: 44.73 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007633/0.1824, allocations: 495.8 kB / 448.3 MB, free: 44.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.1825, allocations: 56.08 kB / 448.3 MB, free: 44.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1825, allocations: 6.75 kB / 448.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/0.1825, allocations: 29.03 kB / 448.4 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.1828, allocations: 29.48 kB / 448.4 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.1831, allocations: 322.4 kB / 448.7 MB, free: 44.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.199e-05/0.1832, allocations: 111.7 kB / 448.8 MB, free: 44.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.1832, allocations: 17.28 kB / 448.8 MB, free: 44.26 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1832, allocations: 3.828 kB / 448.8 MB, free: 44.26 MB / 410.7 MB Notification: Performance of Templates: time 0.002567/0.1858, allocations: 2.18 MB / 451 MB, free: 44 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.962485454976559]