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.001065/0.001065, allocations: 95.75 kB / 16.99 MB, free: 5.941 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.0009277/0.0009278, allocations: 180.5 kB / 17.87 MB, free: 5.609 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: 223.2 MB / 241.8 MB, free: 14.64 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.2184/0.2184, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004949, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1431, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002142/0.1452, allocations: 1.329 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009089/0.1462, allocations: 387.6 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.1463, allocations: 3.938 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.1469, allocations: 447.1 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.1473, allocations: 235.5 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.1478, allocations: 165.6 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.148, allocations: 111.8 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1481, allocations: 15.98 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.1483, allocations: 107.7 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1485, allocations: 147.7 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1485, allocations: 0 / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1487, allocations: 31.98 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1488, allocations: 79.75 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.1489, allocations: 73.39 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.1491, allocations: 195.9 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1491, allocations: 0 / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1491, allocations: 4 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1491, allocations: 0 / 474.7 MB, free: 10.43 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.0007755/0.1499, allocations: 0.5989 MB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.15, allocations: 12.56 kB / 475.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.1501, allocations: 39.44 kB / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.1504, allocations: 287.2 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1504, allocations: 4 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.1505, allocations: 4 kB / 475.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1506, allocations: 69.62 kB / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1507, allocations: 0 / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1507, allocations: 0 / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1507, allocations: 0 / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1508, allocations: 39.92 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.1515, allocations: 416.6 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1516, allocations: 54.52 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1516, allocations: 4 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1517, allocations: 30.56 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.1517, allocations: 0 / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001033/0.1527, allocations: 344.2 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.1528, allocations: 55.39 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008609/0.1536, allocations: 0.8652 MB / 477.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1537, allocations: 25.7 kB / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.1538, allocations: 231.9 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1539, allocations: 27.64 kB / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.1539, allocations: 4 kB / 477.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1541, allocations: 362.7 kB / 478.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/0.1542, allocations: 31.98 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.832e-05/0.1542, allocations: 35.97 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.266e-05/0.1543, allocations: 47.92 kB / 478.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1544, allocations: 0 / 478.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002523/0.1546, allocations: 145.1 kB / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1546, allocations: 4 kB / 478.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1546, allocations: 4 kB / 478.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1547, allocations: 4 kB / 478.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1548, allocations: 19.98 kB / 478.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1548, allocations: 0 / 478.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.1549, allocations: 11.94 kB / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1549, allocations: 4 kB / 478.5 MB, free: 6.473 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 (8): * Single equations (assignments): 8 * 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.0002112/0.1551, allocations: 221.7 kB / 478.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.1552, allocations: 47.44 kB / 478.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.1555, allocations: 181.8 kB / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1555, allocations: 0 / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1555, allocations: 0 / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1555, allocations: 0 / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.1561, allocations: 0.5382 MB / 479.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1562, allocations: 0 / 479.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.1562, allocations: 19.98 kB / 479.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1562, allocations: 8.031 kB / 479.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1563, allocations: 0 / 479.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1563, allocations: 7.875 kB / 479.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1563, allocations: 3.953 kB / 479.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1565, allocations: 265.5 kB / 479.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.1566, allocations: 112.6 kB / 479.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.1567, allocations: 4 kB / 479.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.1568, allocations: 7.953 kB / 479.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.1568, allocations: 7.984 kB / 479.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1568, allocations: 4 kB / 479.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005569/0.1574, allocations: 0.6589 MB / 480.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1574, allocations: 0 / 480.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1577, allocations: 31.98 kB / 480.6 MB, free: 4.25 MB / 350.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 (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.0009926/0.1587, allocations: 466.5 kB / 481 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.1589, allocations: 75.95 kB / 481.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1589, allocations: 0 / 481.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.159, allocations: 43.92 kB / 481.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.1593, allocations: 34.3 kB / 481.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1605, allocations: 0.8699 MB / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.161, allocations: 0.834 MB / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.323e-05/0.1611, allocations: 32.7 kB / 482.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.1611, allocations: 11.44 kB / 482.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1611, allocations: 0 / 482.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of Templates: time 0.005034/0.1662, allocations: 1.649 MB / 484.6 MB, free: 388 kB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches