Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001111/0.001111, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001829/0.002939, allocations: 449.8 kB / 10.44 MB, free: 252 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.00121/0.00121, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001659/0.002869, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.956/0.956, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09308/1.049, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.2538/0.2538, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02519/0.2789, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.268e-05, allocations: 4.812 kB / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002421/0.002453, allocations: 1.732 MB / 294.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007545/0.003208, allocations: 0.5607 MB / 295.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.003263, allocations: 0 / 295.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.003724, allocations: 499 kB / 295.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.004117, allocations: 315 kB / 295.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.004409, allocations: 131.5 kB / 296.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.004613, allocations: 163.6 kB / 296.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.004697, allocations: 11.98 kB / 296.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.004867, allocations: 155.8 kB / 296.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.005046, allocations: 191.6 kB / 296.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.005062, allocations: 4 kB / 296.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.005151, allocations: 39.88 kB / 296.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-05/0.005244, allocations: 79.72 kB / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.005279, allocations: 35.75 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.005506, allocations: 191.2 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-05/0.00552, allocations: 0 / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.005522, allocations: 0 / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.005535, allocations: 0 / 296.9 MB, free: 2.094 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005854/0.006121, allocations: 0.6043 MB / 297.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.006151, allocations: 12.03 kB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.006195, allocations: 24.91 kB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.006393, allocations: 238.1 kB / 297.8 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.006402, allocations: 384 / 297.8 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.006425, allocations: 8.375 kB / 297.8 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.803e-05/0.006523, allocations: 54.94 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.006532, allocations: 192 / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.006542, allocations: 12.11 kB / 297.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.006547, allocations: 0 / 297.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.006568, allocations: 11.94 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.006783, allocations: 164.2 kB / 298 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.006925, allocations: 26.56 kB / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.00694, allocations: 16.8 kB / 298.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.006956, allocations: 0 / 298.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.006978, allocations: 38.5 kB / 298.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.006979, allocations: 0 / 298.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003172/0.007296, allocations: 109.6 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.007324, allocations: 55.41 kB / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.007642, allocations: 0.5243 MB / 298.8 MB, free: 80 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.007656, allocations: 29.7 kB / 298.8 MB, free: 44 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.007725, allocations: 137.3 kB / 299 MB, free: 15.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.007745, allocations: 15.86 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.007778, allocations: 25.7 kB / 299 MB, free: 15.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.007889, allocations: 354.7 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.007904, allocations: 4 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.072e-05/0.007914, allocations: 4 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.007952, allocations: 25.02 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.007953, allocations: 0 / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001069/0.00806, allocations: 73.53 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.008076, allocations: 4 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.008082, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.008099, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.008176, allocations: 16 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.00818, allocations: 4 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.008209, allocations: 3.984 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.008216, allocations: 4 kB / 299.5 MB, free: 15.36 MB / 298.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 9.96e-05/0.008316, allocations: 108.7 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.008346, allocations: 27.91 kB / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.008497, allocations: 93.16 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.0085, allocations: 0 / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.008502, allocations: 0 / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.008506, allocations: 0 / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.008775, allocations: 278.6 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.008778, allocations: 0 / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.008829, allocations: 15.94 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.008853, allocations: 31.72 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.008856, allocations: 0 / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.008862, allocations: 3.984 kB / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.008866, allocations: 4 kB / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008867, allocations: 192 / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.008974, allocations: 163.5 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.008991, allocations: 3.984 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.062e-05/0.009031, allocations: 7.938 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.009064, allocations: 4 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.009068, allocations: 0 / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002011/0.009269, allocations: 287.2 kB / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.009269, allocations: 0 / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000156/0.009425, allocations: 24 kB / 300.5 MB, free: 14.26 MB / 298.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.001434/0.01086, allocations: 0.549 MB / 301.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.289e-05/0.01095, allocations: 24.84 kB / 301.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.01096, allocations: 8 kB / 301.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.905e-05/0.01099, allocations: 20.84 kB / 301.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.01126, allocations: 101.2 kB / 301.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008169/0.01207, allocations: 0.5787 MB / 301.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.322e-05/0.01215, allocations: 127.2 kB / 301.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.208e-05/0.01218, allocations: 4 kB / 301.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.01224, allocations: 55.38 kB / 302 MB, free: 13.04 MB / 298.7 MB Notification: Performance of SimCode: time 1.343e-06/0.01224, allocations: 4 kB / 302 MB, free: 13.04 MB / 298.7 MB Notification: Performance of Templates: time 0.003995/0.01623, allocations: 1.477 MB / 303.5 MB, free: 11.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.779830629006028]