Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.0009004/0.0009004, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.00215, 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.0007841/0.0007841, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000998/0.001782, 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.035/1.035, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.138, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.3021/0.3021, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02957/0.3317, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.683e-05, allocations: 3.297 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003629/0.003656, allocations: 1.689 MB / 292.3 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.004991, allocations: 0.5459 MB / 292.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.005081, allocations: 1.531 kB / 292.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007039/0.005785, allocations: 489 kB / 293.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006581/0.006443, allocations: 311.2 kB / 293.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.006865, allocations: 127.6 kB / 293.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.007161, allocations: 159.7 kB / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.007275, allocations: 20 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.007525, allocations: 155.8 kB / 294.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.007771, allocations: 187.7 kB / 294.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.007792, allocations: 8 kB / 294.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.949e-05/0.007871, allocations: 19.98 kB / 294.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.007982, allocations: 79.72 kB / 294.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.008035, allocations: 35.75 kB / 294.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.008328, allocations: 179.2 kB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-05/0.008354, allocations: 0 / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.008355, allocations: 0 / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.008377, allocations: 0 / 294.6 MB, free: 4.312 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008337/0.009211, allocations: 0.5844 MB / 295.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.009256, allocations: 12.03 kB / 295.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.009325, allocations: 24.91 kB / 295.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/0.009805, allocations: 238.1 kB / 295.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.009819, allocations: 8.375 kB / 295.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.00983, allocations: 384 / 295.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.009974, allocations: 50.95 kB / 295.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.009983, allocations: 192 / 295.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.009998, allocations: 11.88 kB / 295.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.01001, allocations: 0 / 295.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.89e-05/0.01004, allocations: 7.984 kB / 295.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.01035, allocations: 160.2 kB / 295.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.122e-05/0.01043, allocations: 22.58 kB / 295.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.01044, allocations: 8.922 kB / 295.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.01047, allocations: 0 / 295.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.01051, allocations: 38.5 kB / 295.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/0.01051, allocations: 0 / 295.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001961/0.01071, allocations: 61.59 kB / 295.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.01075, allocations: 55.41 kB / 295.9 MB, free: 2.926 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006006/0.01135, allocations: 0.5244 MB / 296.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.01137, allocations: 25.7 kB / 296.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.01148, allocations: 141.3 kB / 296.5 MB, free: 2.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.01151, allocations: 12.06 kB / 296.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.01155, allocations: 13.72 kB / 296.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.01172, allocations: 354.7 kB / 296.9 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.01173, allocations: 3.984 kB / 296.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.01175, allocations: 4 kB / 296.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.01179, allocations: 12.8 kB / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.01179, allocations: 0 / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001041/0.01189, allocations: 57.61 kB / 297 MB, free: 1.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.01191, allocations: 4 kB / 297 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.01192, allocations: 4.094 kB / 297 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.01193, allocations: 0 / 297 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.01203, allocations: 7.984 kB / 297 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.01204, allocations: 0 / 297 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.01208, allocations: 11.94 kB / 297 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01209, allocations: 0 / 297 MB, free: 1.711 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 (2): * Single equations (assignments): 2 * 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 0.0001048/0.0122, allocations: 112.7 kB / 297.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.01224, allocations: 27.91 kB / 297.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.0124, allocations: 72.69 kB / 297.2 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01241, allocations: 7.984 kB / 297.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.01241, allocations: 4.031 kB / 297.2 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01241, allocations: 3.984 kB / 297.2 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.0126, allocations: 129.7 kB / 297.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.0126, allocations: 3.938 kB / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.01264, allocations: 11.98 kB / 297.4 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.01268, allocations: 27.77 kB / 297.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.01268, allocations: 3.938 kB / 297.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.01269, allocations: 0 / 297.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01269, allocations: 0 / 297.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01269, allocations: 0 / 297.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.01284, allocations: 155.5 kB / 297.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.01286, allocations: 3.984 kB / 297.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.01294, allocations: 7.938 kB / 297.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.01295, allocations: 4 kB / 297.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.01296, allocations: 0 / 297.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002935/0.01325, allocations: 283.2 kB / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01325, allocations: 0 / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002297/0.01348, allocations: 19.95 kB / 297.9 MB, free: 0.7969 MB / 282.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 (2): * Single equations (assignments): 2 * 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.001659/0.01514, allocations: 471 kB / 298.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.378e-05/0.01522, allocations: 12.86 kB / 298.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.01523, allocations: 4 kB / 298.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.547e-05/0.01525, allocations: 16.78 kB / 298.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.01554, allocations: 42.02 kB / 298.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.01665, allocations: 0.5618 MB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.01676, allocations: 115.3 kB / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.938e-05/0.0168, allocations: 11.97 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.01729, allocations: 51.38 kB / 299.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01729, allocations: 0 / 299.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of Templates: time 0.005212/0.0225, allocations: 1.238 MB / 300.4 MB, free: 14.51 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.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.067032872699201]