Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 104.1 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 190 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 241.8 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.17 MB / 336.1 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.8 kB / 407.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1325, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.004102/0.1367, allocations: 1.665 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1378, allocations: 415.3 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.138, allocations: 0 / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006867/0.1387, allocations: 451.2 kB / 471 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.1391, allocations: 251.5 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.1396, allocations: 111.6 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.14, allocations: 163.6 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1402, allocations: 12.19 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1404, allocations: 103.8 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.1407, allocations: 203.6 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.1408, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.1409, allocations: 32 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.1411, allocations: 83.62 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1413, allocations: 107 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.1416, allocations: 235.1 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1417, allocations: 0 / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1417, allocations: 3.938 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1417, allocations: 4 kB / 472.3 MB, free: 11 MB / 350.1 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.000868/0.1425, allocations: 0.6223 MB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1426, allocations: 8.031 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.582e-05/0.1427, allocations: 44.38 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.143, allocations: 292.2 kB / 473.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.143, allocations: 4.359 kB / 473.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1431, allocations: 8.375 kB / 473.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1432, allocations: 61.55 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1432, allocations: 0 / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1433, allocations: 0 / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1433, allocations: 4 kB / 473.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/0.1434, allocations: 19.98 kB / 473.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.1439, allocations: 384.7 kB / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.1441, allocations: 50.5 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.1442, allocations: 12.94 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1442, allocations: 0 / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1443, allocations: 34.56 kB / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1443, allocations: 0 / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007405/0.145, allocations: 236 kB / 474.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1451, allocations: 51.41 kB / 474.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009773/0.1461, allocations: 0.8613 MB / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1461, allocations: 25.7 kB / 475 MB, free: 8.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.1463, allocations: 216.1 kB / 475.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.1464, allocations: 19.72 kB / 475.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.1464, allocations: 17.72 kB / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1466, allocations: 362.8 kB / 475.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.1467, allocations: 19.98 kB / 475.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.1468, allocations: 19.98 kB / 475.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.1469, allocations: 48.7 kB / 475.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.147, allocations: 3.938 kB / 475.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002144/0.1472, allocations: 117.2 kB / 475.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1472, allocations: 6.188 kB / 475.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1472, allocations: 0 / 475.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1472, allocations: 0 / 475.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.1473, allocations: 15.98 kB / 475.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1473, allocations: 0 / 475.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.749e-05/0.1474, allocations: 7.938 kB / 475.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1474, allocations: 0 / 475.8 MB, free: 7.242 MB / 350.1 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 0.0002085/0.1476, allocations: 222.2 kB / 476.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.1477, allocations: 43.44 kB / 476.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.148, allocations: 125.1 kB / 476.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.148, allocations: 0 / 476.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.148, allocations: 0 / 476.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.148, allocations: 7.938 kB / 476.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005974/0.1486, allocations: 454.7 kB / 476.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1486, allocations: 0 / 476.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.1487, allocations: 20.05 kB / 476.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1487, allocations: 0 / 476.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1487, allocations: 3.938 kB / 476.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1487, allocations: 0 / 476.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1487, allocations: 0 / 476.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.149, allocations: 222.9 kB / 476.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.1491, allocations: 104.6 kB / 477 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.1492, allocations: 7.938 kB / 477 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.1492, allocations: 288 / 477 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.1493, allocations: 7.984 kB / 477 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.1493, allocations: 0 / 477 MB, free: 5.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006625/0.15, allocations: 0.6472 MB / 477.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.15, allocations: 0 / 477.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.1503, allocations: 31.98 kB / 477.7 MB, free: 5.262 MB / 350.1 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.001053/0.1513, allocations: 406.7 kB / 478.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1516, allocations: 43.97 kB / 478.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.1516, allocations: 4 kB / 478.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.202e-05/0.1517, allocations: 27.91 kB / 478.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.1521, allocations: 25.95 kB / 478.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.1534, allocations: 0.8593 MB / 479.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.154, allocations: 0.8185 MB / 479.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.154, allocations: 11.92 kB / 479.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.154, allocations: 15.44 kB / 479.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1541, allocations: 4 kB / 479.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of Templates: time 0.005178/0.1592, allocations: 1.402 MB / 481.3 MB, free: 1.762 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches