Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.0009475/0.0009475, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001479/0.002426, 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.0009924/0.0009924, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002339, 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.9392/0.9392, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.089/1.028, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.2497/0.2497, allocations: 34.26 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02418/0.2739, allocations: 13.11 MB / 291.5 MB, free: 7.344 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.Test3,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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 292.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.235e-05, allocations: 3.188 kB / 292.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.00191/0.001923, allocations: 1.758 MB / 294.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006925/0.002615, allocations: 0.5724 MB / 295.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.002664, allocations: 0 / 295.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.003046, allocations: 494.9 kB / 295.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.003359, allocations: 327 kB / 296 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.003625, allocations: 127.5 kB / 296.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.003825, allocations: 175.6 kB / 296.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.405e-05/0.003899, allocations: 20.2 kB / 296.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.004051, allocations: 163.7 kB / 296.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.004202, allocations: 199.6 kB / 296.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.004218, allocations: 4 kB / 296.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.00432, allocations: 47.92 kB / 296.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.004413, allocations: 83.72 kB / 296.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.004453, allocations: 35.75 kB / 296.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.004677, allocations: 215 kB / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/0.004691, allocations: 0 / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004692, allocations: 0 / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2e-05/0.004712, allocations: 0 / 297 MB, free: 1.965 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.0006178/0.00533, allocations: 0.6043 MB / 297.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.005368, allocations: 8.031 kB / 297.7 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.005423, allocations: 32.91 kB / 297.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.005663, allocations: 250 kB / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.005675, allocations: 384 / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.005711, allocations: 8.375 kB / 297.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.005844, allocations: 62.94 kB / 298 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.005855, allocations: 192 / 298 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.005865, allocations: 4.125 kB / 298 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.005875, allocations: 3.984 kB / 298 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.005905, allocations: 15.92 kB / 298 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.006205, allocations: 172.2 kB / 298.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.006371, allocations: 38.56 kB / 298.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.006389, allocations: 8.859 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.006416, allocations: 8.031 kB / 298.3 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.006444, allocations: 34.5 kB / 298.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.006446, allocations: 3.938 kB / 298.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000586/0.007032, allocations: 235.4 kB / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.007059, allocations: 55.41 kB / 298.6 MB, free: 332 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.007376, allocations: 0.5244 MB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.007388, allocations: 25.7 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.007446, allocations: 149.2 kB / 299.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.007476, allocations: 39.67 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.007507, allocations: 25.7 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.0076, allocations: 362.6 kB / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.007615, allocations: 11.94 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/0.007634, allocations: 12 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.007678, allocations: 37.75 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.007679, allocations: 4 kB / 299.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.107e-05/0.00776, allocations: 89.14 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.007774, allocations: 9.562 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.007777, allocations: 0 / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.007788, allocations: 0 / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.007855, allocations: 27.92 kB / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.007858, allocations: 0 / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.007887, allocations: 4 kB / 299.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.007894, allocations: 8 kB / 299.9 MB, free: 14.96 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 (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 7.245e-05/0.007967, allocations: 120.6 kB / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.007995, allocations: 27.97 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.008126, allocations: 113.4 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.008128, allocations: 4 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.00813, allocations: 0 / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008133, allocations: 0 / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.00842, allocations: 340.1 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008422, allocations: 0 / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.008475, allocations: 27.92 kB / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.008499, allocations: 39.78 kB / 300.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008501, allocations: 3.984 kB / 300.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.008506, allocations: 0 / 300.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.00851, allocations: 4.188 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.008513, allocations: 7.938 kB / 300.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.008631, allocations: 197.1 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.008646, allocations: 0 / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.437e-05/0.00869, allocations: 8 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.008725, allocations: 11.92 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.00873, allocations: 4 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.008903, allocations: 291.2 kB / 301.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008903, allocations: 3.938 kB / 301.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001541/0.009057, allocations: 31.94 kB / 301.1 MB, free: 13.68 MB / 298.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.001347/0.0104, allocations: 0.6204 MB / 301.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.89e-05/0.0105, allocations: 48.77 kB / 301.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.01051, allocations: 8 kB / 301.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.831e-05/0.01056, allocations: 40.77 kB / 301.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.01079, allocations: 97.62 kB / 301.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007253/0.01151, allocations: 0.6431 MB / 302.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.724e-05/0.01159, allocations: 119.2 kB / 302.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.057e-05/0.01163, allocations: 16.48 kB / 302.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.01169, allocations: 67.36 kB / 302.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01169, allocations: 0 / 302.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of Templates: time 0.003933/0.01562, allocations: 1.893 MB / 304.6 MB, free: 10.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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.726323813199997]