Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008656/0.0008656, allocations: 96.08 kB / 17.35 MB, free: 6.344 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.0008059/0.000806, allocations: 168.8 kB / 18.25 MB, free: 5.508 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.533/1.533, allocations: 223.2 MB / 242.3 MB, free: 212 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.2572/0.2572, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003485, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 61.93 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002463/0.1366, allocations: 1.344 MB / 473.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009802/0.1376, allocations: 439.2 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.1378, allocations: 0 / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.1381, allocations: 71.83 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.1383, allocations: 63.81 kB / 474.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.1388, allocations: 153 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.139, allocations: 87.75 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1392, allocations: 23.97 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.1393, allocations: 31.91 kB / 474.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1394, allocations: 55.75 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1394, allocations: 0 / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1395, allocations: 43.98 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.4e-05/0.1396, allocations: 27.92 kB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.084e-05/0.1397, allocations: 53.39 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1399, allocations: 104 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1399, allocations: 0 / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1399, allocations: 0 / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1399, allocations: 0 / 474.7 MB, free: 10.87 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006069/0.1406, allocations: 403.2 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1406, allocations: 8.031 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.1407, allocations: 20.75 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.141, allocations: 204 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.141, allocations: 384 / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.141, allocations: 8.375 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.1413, allocations: 73.72 kB / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1413, allocations: 4 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1413, allocations: 3.938 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1413, allocations: 0 / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.1415, allocations: 51.97 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.142, allocations: 332.6 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.1423, allocations: 58.55 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.476e-05/0.1424, allocations: 32.97 kB / 475.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1424, allocations: 0 / 475.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1424, allocations: 42.59 kB / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1424, allocations: 0 / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001692/0.1441, allocations: 496.8 kB / 476.4 MB, free: 9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1442, allocations: 67.27 kB / 476.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1444, allocations: 207.3 kB / 476.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1444, allocations: 25.7 kB / 476.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.1446, allocations: 104.1 kB / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.1446, allocations: 31.47 kB / 476.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1447, allocations: 21.7 kB / 476.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1448, allocations: 326.8 kB / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.145, allocations: 55.97 kB / 477.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1451, allocations: 67.89 kB / 477.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.1454, allocations: 148.7 kB / 477.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1454, allocations: 0 / 477.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003448/0.1458, allocations: 181.8 kB / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1458, allocations: 6.5 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1458, allocations: 8 kB / 477.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1459, allocations: 0 / 477.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.146, allocations: 31.92 kB / 477.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.146, allocations: 7.922 kB / 477.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.411e-05/0.1461, allocations: 11.98 kB / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1461, allocations: 4 kB / 477.7 MB, free: 7.656 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 (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 0.0001085/0.1462, allocations: 138.3 kB / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.1462, allocations: 15.81 kB / 477.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.1467, allocations: 199 kB / 478.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1467, allocations: 7.938 kB / 478.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1467, allocations: 0 / 478.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1468, allocations: 3.984 kB / 478.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007346/0.1475, allocations: 0.5122 MB / 478.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1475, allocations: 3.984 kB / 478.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.1476, allocations: 35.98 kB / 478.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.1476, allocations: 8 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1476, allocations: 0 / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1477, allocations: 0 / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1477, allocations: 7.938 kB / 478.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.1481, allocations: 285 kB / 478.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.1482, allocations: 92.92 kB / 479 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1482, allocations: 4.094 kB / 479 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/0.1483, allocations: 19.92 kB / 479 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.1484, allocations: 19.91 kB / 479 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1484, allocations: 4 kB / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1485, allocations: 155.9 kB / 479.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1485, allocations: 0 / 479.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1488, allocations: 31.98 kB / 479.2 MB, free: 6.02 MB / 350.1 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.001184/0.15, allocations: 452.7 kB / 479.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.1504, allocations: 139.9 kB / 479.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1504, allocations: 0 / 479.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.1506, allocations: 84.02 kB / 479.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1509, allocations: 26.89 kB / 479.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.1516, allocations: 355.2 kB / 480.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.1519, allocations: 0.7238 MB / 481 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.607e-05/0.152, allocations: 36.38 kB / 481 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.1521, allocations: 15.44 kB / 481 MB, free: 4.332 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1521, allocations: 0 / 481 MB, free: 4.332 MB / 350.1 MB Notification: Performance of Templates: time 0.004515/0.1566, allocations: 1.492 MB / 482.5 MB, free: 2.852 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches