Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001207, allocations: 96.69 kB / 17 MB, free: 6.418 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.001439/0.001439, allocations: 191.4 kB / 17.89 MB, free: 5.945 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.463/1.463, allocations: 223.3 MB / 241.9 MB, free: 264 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2109/0.2109, allocations: 44.24 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003095, allocations: 8.75 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 61.92 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002527/0.1469, allocations: 1.313 MB / 472.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008319/0.1478, allocations: 411.6 kB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.1479, allocations: 4 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000592/0.1485, allocations: 443.1 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.1489, allocations: 243.5 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005913/0.1495, allocations: 155.2 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.1499, allocations: 139.7 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.15, allocations: 11.98 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.1502, allocations: 103.7 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.1505, allocations: 167.7 kB / 474.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.1506, allocations: 4 kB / 474.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1507, allocations: 35.97 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1508, allocations: 79.69 kB / 474.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/0.1509, allocations: 69.52 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.1512, allocations: 180 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1512, allocations: 0 / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1512, allocations: 0 / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.1512, allocations: 0 / 474.9 MB, free: 10.38 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.0009299/0.1522, allocations: 0.6066 MB / 475.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1522, allocations: 8.562 kB / 475.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.859e-05/0.1523, allocations: 43.44 kB / 475.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.1527, allocations: 271.3 kB / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1527, allocations: 4 kB / 475.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1527, allocations: 4 kB / 475.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.1529, allocations: 65.62 kB / 475.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.153, allocations: 0 / 475.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.153, allocations: 4 kB / 475.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.153, allocations: 4 kB / 475.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.1532, allocations: 47.95 kB / 476 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.1538, allocations: 412.6 kB / 476.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.154, allocations: 46.56 kB / 476.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.574e-05/0.1541, allocations: 28.94 kB / 476.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1541, allocations: 11.98 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1542, allocations: 30.56 kB / 476.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.565e-06/0.1542, allocations: 0 / 476.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009254/0.1551, allocations: 343.8 kB / 476.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1551, allocations: 55.41 kB / 476.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008751/0.156, allocations: 0.8535 MB / 477.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1561, allocations: 25.7 kB / 477.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.1562, allocations: 212.1 kB / 478 MB, free: 7.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.1563, allocations: 27.5 kB / 478 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/0.1563, allocations: 4 kB / 478 MB, free: 7.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1565, allocations: 362.7 kB / 478.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1566, allocations: 47.97 kB / 478.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1567, allocations: 52.03 kB / 478.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.1568, allocations: 47.97 kB / 478.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1568, allocations: 0 / 478.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000321/0.1572, allocations: 173.1 kB / 478.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1572, allocations: 4 kB / 478.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1572, allocations: 0 / 478.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1572, allocations: 0 / 478.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1574, allocations: 23.98 kB / 478.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.1574, allocations: 7.938 kB / 478.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.1575, allocations: 19.98 kB / 478.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1575, allocations: 0 / 478.7 MB, free: 6.363 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.1577, allocations: 221.7 kB / 478.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.1578, allocations: 43.72 kB / 479 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.1582, allocations: 193.7 kB / 479.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1582, allocations: 7.984 kB / 479.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1582, allocations: 0 / 479.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1582, allocations: 0 / 479.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.159, allocations: 0.5296 MB / 479.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.159, allocations: 0 / 479.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.1591, allocations: 27.98 kB / 479.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1591, allocations: 0 / 479.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1591, allocations: 0 / 479.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1591, allocations: 4 kB / 479.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1591, allocations: 0 / 479.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.1595, allocations: 278.8 kB / 480 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-05/0.1596, allocations: 108.5 kB / 480.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.1596, allocations: 7.938 kB / 480.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1597, allocations: 19.98 kB / 480.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.1598, allocations: 7.984 kB / 480.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1598, allocations: 0 / 480.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006479/0.1604, allocations: 0.6511 MB / 480.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1605, allocations: 0 / 480.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1607, allocations: 24 kB / 480.8 MB, free: 4.148 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000977/0.1617, allocations: 408.8 kB / 481.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.162, allocations: 99.88 kB / 481.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.162, allocations: 4 kB / 481.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.1622, allocations: 55.95 kB / 481.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.1626, allocations: 25.92 kB / 481.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.1639, allocations: 0.8612 MB / 482.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.1644, allocations: 0.8302 MB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.131e-05/0.1645, allocations: 24.23 kB / 483.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.1645, allocations: 19.36 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1645, allocations: 0 / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of Templates: time 0.005178/0.1697, allocations: 1.421 MB / 484.5 MB, free: 0.5156 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches