Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001077/0.001077, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001146/0.001146, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9857/0.9857, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1454/0.1454, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.14e-05, allocations: 6.25 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002114/0.002136, allocations: 1.652 MB / 349.3 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005235/0.002659, allocations: 347.2 kB / 349.7 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.002721, allocations: 0 / 349.7 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.003169, allocations: 451.1 kB / 350.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.003434, allocations: 263.4 kB / 350.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.003727, allocations: 151.6 kB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.003922, allocations: 167.6 kB / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.004038, allocations: 8.188 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.313e-05/0.004131, allocations: 119.8 kB / 350.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.004295, allocations: 239.6 kB / 351 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.004316, allocations: 4 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.997e-05/0.004386, allocations: 31.92 kB / 351.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.00448, allocations: 91.7 kB / 351.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.004528, allocations: 39.69 kB / 351.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.004742, allocations: 191.2 kB / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004744, allocations: 0 / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004745, allocations: 0 / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.00475, allocations: 0 / 351.4 MB, free: 5.711 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.0004635/0.005213, allocations: 0.6854 MB / 352.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.005254, allocations: 8.031 kB / 352.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.005306, allocations: 48.61 kB / 352.1 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.005476, allocations: 240.9 kB / 352.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.005486, allocations: 4.312 kB / 352.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.005512, allocations: 12.38 kB / 352.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.005626, allocations: 62.92 kB / 352.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.005635, allocations: 4.188 kB / 352.4 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.005645, allocations: 3.938 kB / 352.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.005654, allocations: 0 / 352.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.935e-05/0.005684, allocations: 11.94 kB / 352.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.006039, allocations: 427.6 kB / 352.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.006189, allocations: 42.98 kB / 352.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.006212, allocations: 15.69 kB / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.006236, allocations: 4 kB / 352.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.006254, allocations: 33.39 kB / 353 MB, free: 3.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.006255, allocations: 0 / 353 MB, free: 3.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003411/0.006597, allocations: 184.9 kB / 353.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.006614, allocations: 55.41 kB / 353.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.006915, allocations: 0.6238 MB / 353.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.804e-06/0.006923, allocations: 25.7 kB / 353.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.007024, allocations: 286.8 kB / 354.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.007044, allocations: 15.84 kB / 354.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.007073, allocations: 23.38 kB / 354.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.007161, allocations: 0.5586 MB / 354.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.007178, allocations: 7.938 kB / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.297e-05/0.007191, allocations: 8 kB / 354.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/0.007226, allocations: 27.88 kB / 354.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.007228, allocations: 3.984 kB / 354.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.918e-05/0.007307, allocations: 85.42 kB / 354.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.007321, allocations: 4 kB / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007325, allocations: 4 kB / 354.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.007341, allocations: 0 / 354.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.969e-05/0.00738, allocations: 15.92 kB / 354.9 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.007385, allocations: 0 / 354.9 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.00741, allocations: 12 kB / 354.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.007416, allocations: 0 / 354.9 MB, free: 1.988 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 (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 5.439e-05/0.00747, allocations: 156.5 kB / 355.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.007498, allocations: 43.72 kB / 355.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.007615, allocations: 97.19 kB / 355.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.007618, allocations: 7.984 kB / 355.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.007621, allocations: 0 / 355.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007624, allocations: 0 / 355.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.007895, allocations: 469.3 kB / 355.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007896, allocations: 4 kB / 355.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.007923, allocations: 8 kB / 355.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007925, allocations: 3.938 kB / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.007932, allocations: 4 kB / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007933, allocations: 0 / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007935, allocations: 192 / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.409e-05/0.008029, allocations: 251.5 kB / 355.9 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.008048, allocations: 31.72 kB / 356 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.008061, allocations: 4 kB / 356 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.008098, allocations: 7.984 kB / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.008134, allocations: 0 / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.008137, allocations: 8 kB / 356 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.008319, allocations: 422.8 kB / 356.4 MB, free: 436 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008319, allocations: 0 / 356.4 MB, free: 436 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.008482, allocations: 27.94 kB / 356.4 MB, free: 408 kB / 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 (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.0007641/0.009246, allocations: 368.4 kB / 356.8 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.54e-05/0.009341, allocations: 31.67 kB / 356.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009343, allocations: 3.938 kB / 356.8 MB, free: 88 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.133e-05/0.009364, allocations: 19.69 kB / 356.8 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.0096, allocations: 27.14 kB / 356.9 MB, free: 40 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006329/0.01023, allocations: 0.5744 MB / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.617e-05/0.01031, allocations: 123.2 kB / 357.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.86e-05/0.01035, allocations: 15.98 kB / 357.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.01038, allocations: 16.5 kB / 357.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01038, allocations: 0 / 357.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of Templates: time 0.003951/0.01433, allocations: 1.372 MB / 359 MB, free: 13.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.3150256262160838]