Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.0008852/0.0008852, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001982, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007019/0.0007019, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009094/0.001611, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09081/1.118, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2532/0.2532, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0245/0.2777, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.557e-05, allocations: 3.078 kB / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.00267/0.002695, allocations: 1.762 MB / 292.4 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008925/0.003588, allocations: 0.5568 MB / 293 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.003641, allocations: 2.781 kB / 293 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.003824, allocations: 47.2 kB / 293 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.004035, allocations: 96.66 kB / 293.1 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.004306, allocations: 136.2 kB / 293.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.00446, allocations: 83.61 kB / 293.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.00455, allocations: 12.66 kB / 293.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.004667, allocations: 66.66 kB / 293.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.677e-05/0.004754, allocations: 39.89 kB / 293.4 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.004769, allocations: 4 kB / 293.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.004874, allocations: 47.92 kB / 293.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.004933, allocations: 19.94 kB / 293.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.00496, allocations: 11.94 kB / 293.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.005134, allocations: 95.59 kB / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.86e-05/0.005153, allocations: 0 / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005154, allocations: 0 / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.005172, allocations: 0 / 293.6 MB, free: 5.289 MB / 282.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.0004381/0.00561, allocations: 328.6 kB / 293.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.005644, allocations: 8.031 kB / 293.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.005677, allocations: 8.938 kB / 293.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.005823, allocations: 134.2 kB / 294.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.005834, allocations: 4.375 kB / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.005853, allocations: 12.31 kB / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.00597, allocations: 70.67 kB / 294.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.00598, allocations: 0 / 294.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.005987, allocations: 0 / 294.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005993, allocations: 4 kB / 294.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.066e-05/0.006024, allocations: 8 kB / 294.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.006257, allocations: 180.1 kB / 294.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.006411, allocations: 42.48 kB / 294.4 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.006429, allocations: 8.859 kB / 294.4 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.006449, allocations: 4 kB / 294.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.006476, allocations: 42.67 kB / 294.4 MB, free: 4.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.006478, allocations: 96 / 294.4 MB, free: 4.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005801/0.007058, allocations: 205.7 kB / 294.6 MB, free: 4.152 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.007089, allocations: 51.41 kB / 294.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.007209, allocations: 165.1 kB / 294.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.00722, allocations: 29.7 kB / 294.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.007258, allocations: 92.11 kB / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.007293, allocations: 47.61 kB / 295 MB, free: 3.738 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.00733, allocations: 17.72 kB / 295 MB, free: 3.715 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.007424, allocations: 326.8 kB / 295.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.007447, allocations: 11.98 kB / 295.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.078e-05/0.007468, allocations: 8.656 kB / 295.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.562e-05/0.007524, allocations: 45.84 kB / 295.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007525, allocations: 0 / 295.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.325e-05/0.007618, allocations: 67.53 kB / 295.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.007632, allocations: 11.94 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007636, allocations: 4 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.007646, allocations: 0 / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/0.007731, allocations: 23.98 kB / 295.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.007736, allocations: 3.938 kB / 295.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.007768, allocations: 7.984 kB / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.007776, allocations: 8 kB / 295.6 MB, free: 3.191 MB / 282.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 (11): * Single equations (assignments): 11 * 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 6.23e-05/0.007838, allocations: 112.6 kB / 295.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.007867, allocations: 15.98 kB / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.008003, allocations: 82.42 kB / 295.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.008005, allocations: 4 kB / 295.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.008007, allocations: 0 / 295.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.008011, allocations: 4 kB / 295.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.008327, allocations: 280.2 kB / 296 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.008329, allocations: 0 / 296 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.008398, allocations: 23.98 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.008408, allocations: 7.953 kB / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.008412, allocations: 7.938 kB / 296.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.008419, allocations: 3.984 kB / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.008423, allocations: 8 kB / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.008426, allocations: 4 kB / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.008545, allocations: 173.2 kB / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.008558, allocations: 192 / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.00862, allocations: 19.98 kB / 296.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.008653, allocations: 11.86 kB / 296.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.00866, allocations: 4 kB / 296.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.554e-05/0.008705, allocations: 42.7 kB / 296.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008705, allocations: 0 / 296.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002056/0.008911, allocations: 27.92 kB / 296.4 MB, free: 2.305 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001691/0.0106, allocations: 0.6204 MB / 297 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.01072, allocations: 52.77 kB / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.01073, allocations: 3.938 kB / 297 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/0.01077, allocations: 32.78 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.011, allocations: 35.69 kB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.01156, allocations: 254.9 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.03e-05/0.01161, allocations: 67.33 kB / 297.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.629e-05/0.01166, allocations: 24.59 kB / 297.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.722e-05/0.01174, allocations: 63.36 kB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01174, allocations: 0 / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of Templates: time 0.00405/0.01579, allocations: 1.696 MB / 299.2 MB, free: 15.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.041198469698429]