Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000892/0.0008921, allocations: 96.92 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.0008483/0.0008483, allocations: 183.4 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.373/1.373, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2298/0.2298, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002248/0.1462, allocations: 1.275 MB / 472.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007121/0.1469, allocations: 351.6 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.147, allocations: 0 / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.1476, allocations: 439.1 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.1479, allocations: 239.5 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.1483, allocations: 106.3 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.1485, allocations: 111.8 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1486, allocations: 8 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1488, allocations: 99.8 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.149, allocations: 139.7 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.149, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.1491, allocations: 19.92 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1492, allocations: 83.69 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.36e-05/0.1493, allocations: 65.52 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.1495, allocations: 175.8 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1495, allocations: 0 / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1496, allocations: 0 / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1496, allocations: 0 / 474.5 MB, free: 10.63 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008558/0.1504, allocations: 0.5952 MB / 475.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.1505, allocations: 8.031 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.1506, allocations: 39.44 kB / 475.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.1509, allocations: 279.3 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1509, allocations: 7.938 kB / 475.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.151, allocations: 3.953 kB / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1511, allocations: 49.69 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1512, allocations: 0 / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1512, allocations: 0 / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1512, allocations: 4 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.073e-05/0.1513, allocations: 23.98 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.1519, allocations: 384.7 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/0.152, allocations: 26.58 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.152, allocations: 3.984 kB / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.152, allocations: 30.56 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.1521, allocations: 4 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003028/0.1524, allocations: 101.2 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.1524, allocations: 59.34 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009943/0.1534, allocations: 0.8613 MB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1535, allocations: 25.7 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.1537, allocations: 224.1 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.1537, allocations: 8.031 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.1537, allocations: 0 / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002509/0.154, allocations: 358.8 kB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.582e-05/0.1541, allocations: 11.98 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.1541, allocations: 8 kB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.166e-05/0.1542, allocations: 20 kB / 477.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1542, allocations: 4 kB / 477.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001505/0.1543, allocations: 89.12 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1544, allocations: 8 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1544, allocations: 0 / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.1544, allocations: 0 / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.1545, allocations: 11.92 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1545, allocations: 0 / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.1546, allocations: 15.97 kB / 477.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1546, allocations: 0 / 477.8 MB, free: 7.188 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 (2): * Single equations (assignments): 2 * 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.0002188/0.1548, allocations: 210.3 kB / 478 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.1549, allocations: 47.42 kB / 478 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.1551, allocations: 108.6 kB / 478.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1551, allocations: 0 / 478.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1551, allocations: 4.031 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1551, allocations: 4 kB / 478.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.1555, allocations: 277.6 kB / 478.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.1555, allocations: 3.953 kB / 478.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.1555, allocations: 4 kB / 478.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1555, allocations: 0 / 478.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1555, allocations: 11.88 kB / 478.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1556, allocations: 0 / 478.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1556, allocations: 0 / 478.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.1558, allocations: 191.1 kB / 478.6 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1559, allocations: 112.5 kB / 478.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1559, allocations: 0 / 478.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.156, allocations: 7.984 kB / 478.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.156, allocations: 7.922 kB / 478.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.156, allocations: 4 kB / 478.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006666/0.1567, allocations: 0.6589 MB / 479.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1567, allocations: 0 / 479.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.157, allocations: 16 kB / 479.4 MB, free: 5.438 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 (2): * Single equations (assignments): 2 * 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.0008565/0.1578, allocations: 343.6 kB / 479.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.158, allocations: 27.92 kB / 479.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.158, allocations: 0 / 479.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.093e-05/0.158, allocations: 8 kB / 479.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.1584, allocations: 25.95 kB / 479.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1595, allocations: 0.7945 MB / 480.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006/0.1601, allocations: 0.8301 MB / 481.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.774e-05/0.1602, allocations: 8.172 kB / 481.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.1602, allocations: 11.44 kB / 481.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1603, allocations: 0 / 481.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of Templates: time 0.004748/0.165, allocations: 1.186 MB / 482.6 MB, free: 2.285 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches