Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.0009477/0.0009477, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.00226, 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.0009426/0.0009426, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002239, 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.006/1.006, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08109/1.087, 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.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.2722/0.2722, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02307/0.2953, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.662e-05, allocations: 2.312 kB / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002024/0.002041, allocations: 1.74 MB / 294.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.003236, allocations: 1.317 MB / 295.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.003284, allocations: 0 / 295.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.003385, allocations: 31.78 kB / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.003564, allocations: 79.55 kB / 295.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.003768, allocations: 127.6 kB / 295.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.003894, allocations: 87.7 kB / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.462e-05/0.003979, allocations: 11.98 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.004073, allocations: 55.83 kB / 296.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.741e-05/0.00416, allocations: 19.92 kB / 296.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.004174, allocations: 4 kB / 296.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.004337, allocations: 99.86 kB / 296.2 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.004381, allocations: 15.94 kB / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.792e-05/0.004399, allocations: 11.94 kB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.004574, allocations: 127.5 kB / 296.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.004587, allocations: 0 / 296.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004588, allocations: 4 kB / 296.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.0046, allocations: 0 / 296.4 MB, free: 2.543 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.0003891/0.004989, allocations: 329.1 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.005017, allocations: 12.03 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.005048, allocations: 8.922 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.005183, allocations: 133.6 kB / 296.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.005191, allocations: 384 / 296.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.005208, allocations: 4.375 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.005328, allocations: 102.3 kB / 296.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.005336, allocations: 192 / 296.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.005343, allocations: 8.125 kB / 296.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.005348, allocations: 0 / 296.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.005376, allocations: 11.98 kB / 297 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.005579, allocations: 172.2 kB / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.578e-05/0.005634, allocations: 30.56 kB / 297.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.005648, allocations: 8.859 kB / 297.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.005668, allocations: 0 / 297.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.00569, allocations: 38.5 kB / 297.2 MB, free: 1.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.005691, allocations: 0 / 297.2 MB, free: 1.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003/0.005991, allocations: 117.6 kB / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.006017, allocations: 55.34 kB / 297.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.006096, allocations: 140.4 kB / 297.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.006105, allocations: 25.7 kB / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.006135, allocations: 92.06 kB / 297.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.006154, allocations: 31.73 kB / 297.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.006179, allocations: 13.72 kB / 297.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.006247, allocations: 322.8 kB / 298 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.006259, allocations: 8 kB / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.006289, allocations: 55.45 kB / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.00632, allocations: 28.88 kB / 298.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.006321, allocations: 0 / 298.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.554e-05/0.006377, allocations: 61.55 kB / 298.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.006387, allocations: 8 kB / 298.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006391, allocations: 0 / 298.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/0.006399, allocations: 3.984 kB / 298.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.006466, allocations: 15.98 kB / 298.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.006468, allocations: 0 / 298.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.006489, allocations: 8 kB / 298.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.006493, allocations: 0 / 298.2 MB, free: 0.5547 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 (7): * Single equations (assignments): 7 * 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 4.844e-05/0.006541, allocations: 116.7 kB / 298.3 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.006558, allocations: 15.92 kB / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.274e-05/0.006641, allocations: 66.39 kB / 298.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.006642, allocations: 0 / 298.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.006643, allocations: 0 / 298.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.006645, allocations: 4 kB / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.00683, allocations: 222.7 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006831, allocations: 0 / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.00687, allocations: 19.92 kB / 298.6 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-06/0.006879, allocations: 7.953 kB / 298.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.006881, allocations: 4 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.006886, allocations: 4 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006887, allocations: 4 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006888, allocations: 0 / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.854e-05/0.006977, allocations: 155.8 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.006987, allocations: 4 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.007024, allocations: 7.984 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.007049, allocations: 11.92 kB / 298.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.007051, allocations: 0 / 298.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.517e-05/0.007077, allocations: 26.56 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007077, allocations: 4 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001531/0.00723, allocations: 43.86 kB / 298.9 MB, free: 15.79 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 (7): * Single equations (assignments): 7 * 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.001596/0.008825, allocations: 0.6979 MB / 299.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.902e-05/0.008914, allocations: 24.84 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.008922, allocations: 7.984 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.499e-05/0.008947, allocations: 28.94 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.009102, allocations: 23.92 kB / 299.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.009496, allocations: 200 kB / 299.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.00953, allocations: 63.34 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.886e-05/0.009569, allocations: 11.98 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.00963, allocations: 63.36 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009631, allocations: 0 / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of Templates: time 0.003295/0.01293, allocations: 2.164 MB / 302.2 MB, free: 12.85 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.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: 2.9525125892832875]