Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001199/0.0012, allocations: 194 kB / 18.77 MB, free: 4.742 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.366/1.366, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.209/0.209, allocations: 44.17 MB / 336.8 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 55.91 kB / 408.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1378, allocations: 60.82 MB / 469.2 MB, free: 3.031 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.004101/0.142, allocations: 1.684 MB / 470.9 MB, free: 1.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009089/0.1429, allocations: 455.2 kB / 471.3 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/0.143, allocations: 0 / 471.3 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.1436, allocations: 455.1 kB / 471.8 MB, free: 444 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.144, allocations: 243.6 kB / 472 MB, free: 200 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.1445, allocations: 159.3 kB / 472.1 MB, free: 44 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.1448, allocations: 179.6 kB / 472.3 MB, free: 15.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.145, allocations: 15.98 kB / 472.3 MB, free: 15.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.1451, allocations: 99.8 kB / 472.4 MB, free: 15.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.1454, allocations: 211.5 kB / 472.6 MB, free: 15.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.1455, allocations: 7.984 kB / 472.6 MB, free: 15.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1456, allocations: 39.98 kB / 472.7 MB, free: 15.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1457, allocations: 83.69 kB / 472.8 MB, free: 15.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.785e-05/0.1458, allocations: 99 kB / 472.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.1461, allocations: 207.9 kB / 473.1 MB, free: 15.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1461, allocations: 0 / 473.1 MB, free: 15.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1462, allocations: 0 / 473.1 MB, free: 15.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.1462, allocations: 0 / 473.1 MB, free: 15.12 MB / 398.1 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.000809/0.147, allocations: 0.6439 MB / 473.7 MB, free: 14.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.147, allocations: 8.031 kB / 473.7 MB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.553e-05/0.1471, allocations: 48.36 kB / 473.8 MB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.1474, allocations: 292.2 kB / 474.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1475, allocations: 4.375 kB / 474.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1475, allocations: 4.281 kB / 474.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.1477, allocations: 73.67 kB / 474.1 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1477, allocations: 0 / 474.1 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1477, allocations: 4 kB / 474.1 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1477, allocations: 4 kB / 474.1 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.1479, allocations: 35.97 kB / 474.2 MB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.1485, allocations: 400.6 kB / 474.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1486, allocations: 46.56 kB / 474.6 MB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.1487, allocations: 24.94 kB / 474.6 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1487, allocations: 0 / 474.6 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1487, allocations: 30.56 kB / 474.7 MB, free: 13.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1487, allocations: 3.938 kB / 474.7 MB, free: 13.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009936/0.1497, allocations: 327.8 kB / 475 MB, free: 13.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.1498, allocations: 55.34 kB / 475 MB, free: 12.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007637/0.1506, allocations: 0.8574 MB / 475.9 MB, free: 12.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1506, allocations: 25.7 kB / 475.9 MB, free: 12.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1507, allocations: 224.1 kB / 476.1 MB, free: 11.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.1508, allocations: 23.56 kB / 476.2 MB, free: 11.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.1508, allocations: 25.7 kB / 476.2 MB, free: 11.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.151, allocations: 362.8 kB / 476.6 MB, free: 11.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.696e-05/0.1511, allocations: 35.97 kB / 476.6 MB, free: 11.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.1512, allocations: 23.98 kB / 476.6 MB, free: 11.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.1513, allocations: 76.81 kB / 476.7 MB, free: 11.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1514, allocations: 0 / 476.7 MB, free: 11.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002609/0.1516, allocations: 149 kB / 476.8 MB, free: 11.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1516, allocations: 10.5 kB / 476.8 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1517, allocations: 0 / 476.8 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1517, allocations: 0 / 476.8 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1518, allocations: 23.98 kB / 476.9 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1518, allocations: 4.25 kB / 476.9 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.1519, allocations: 8 kB / 476.9 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1519, allocations: 3.984 kB / 476.9 MB, free: 11.08 MB / 398.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 (8): * Single equations (assignments): 8 * 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.0002027/0.1521, allocations: 214.3 kB / 477.1 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.1522, allocations: 43.44 kB / 477.1 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.1525, allocations: 177.4 kB / 477.3 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1525, allocations: 0 / 477.3 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1525, allocations: 3.938 kB / 477.3 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1526, allocations: 3.938 kB / 477.3 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006634/0.1532, allocations: 0.5149 MB / 477.8 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1532, allocations: 3.938 kB / 477.8 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.1533, allocations: 19.98 kB / 477.8 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1533, allocations: 0 / 477.8 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1533, allocations: 0 / 477.8 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.1533, allocations: 0 / 477.8 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1534, allocations: 4 kB / 477.9 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.1537, allocations: 247.8 kB / 478.1 MB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.1537, allocations: 120.4 kB / 478.2 MB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.1538, allocations: 0 / 478.2 MB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.1539, allocations: 11.98 kB / 478.2 MB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.1539, allocations: 4 kB / 478.2 MB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1539, allocations: 0 / 478.2 MB, free: 9.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005564/0.1545, allocations: 0.6589 MB / 478.9 MB, free: 8.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1545, allocations: 0 / 478.9 MB, free: 8.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1548, allocations: 28 kB / 478.9 MB, free: 8.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001046/0.1558, allocations: 450.1 kB / 479.4 MB, free: 8.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1561, allocations: 75.89 kB / 479.4 MB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1561, allocations: 0 / 479.4 MB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1562, allocations: 43.91 kB / 479.5 MB, free: 8.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.1566, allocations: 29.89 kB / 479.5 MB, free: 8.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.1578, allocations: 0.9445 MB / 480.4 MB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.1582, allocations: 0.8263 MB / 481.3 MB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.1583, allocations: 19.42 kB / 481.3 MB, free: 6.66 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1583, allocations: 0 / 481.3 MB, free: 6.66 MB / 398.1 MB Notification: Performance of Templates: time 0.008948/0.1673, allocations: 3.986 MB / 485.3 MB, free: 2.676 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches