Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000973/0.0009731, allocations: 91.7 kB / 17.35 MB, free: 6.375 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.001339/0.00134, allocations: 175.7 kB / 18.25 MB, free: 5.523 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.453/1.453, allocations: 223.3 MB / 242.3 MB, free: 14.49 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.2155/0.2155, allocations: 44.25 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003343, allocations: 12 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1248, allocations: 61.93 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.001802/0.1266, allocations: 1.341 MB / 473.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007151/0.1273, allocations: 419.3 kB / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.1274, allocations: 0 / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.1276, allocations: 67.83 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.1278, allocations: 47.88 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.1281, allocations: 126.1 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1282, allocations: 71.81 kB / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.1283, allocations: 12 kB / 474.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.1284, allocations: 35.84 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.931e-05/0.1285, allocations: 51.81 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1285, allocations: 0 / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.1286, allocations: 47.92 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.1287, allocations: 15.92 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.1287, allocations: 61.44 kB / 474.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1289, allocations: 103.7 kB / 474.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1289, allocations: 0 / 474.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1289, allocations: 3.938 kB / 474.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1289, allocations: 0 / 474.6 MB, free: 10.9 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.0004541/0.1294, allocations: 411.4 kB / 475 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1294, allocations: 12.03 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.1294, allocations: 12.75 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1296, allocations: 188.1 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1296, allocations: 4.375 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1297, allocations: 8.359 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.1298, allocations: 73.8 kB / 475.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1299, allocations: 3.938 kB / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.1299, allocations: 0 / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1299, allocations: 0 / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.13, allocations: 43.97 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.1304, allocations: 308.8 kB / 475.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.1306, allocations: 58.59 kB / 475.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/0.1307, allocations: 36.95 kB / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.1308, allocations: 0 / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1308, allocations: 34.56 kB / 475.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1308, allocations: 0 / 475.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001522/0.1323, allocations: 473.1 kB / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.1324, allocations: 59.28 kB / 476.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1326, allocations: 202.2 kB / 476.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1326, allocations: 29.7 kB / 476.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.1326, allocations: 104 kB / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.1327, allocations: 39.45 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.1327, allocations: 17.72 kB / 476.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1328, allocations: 322.8 kB / 477 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.133, allocations: 51.97 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1331, allocations: 51.97 kB / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.1334, allocations: 116.8 kB / 477.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1334, allocations: 0 / 477.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003354/0.1337, allocations: 165.4 kB / 477.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1338, allocations: 6.5 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1338, allocations: 0 / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1338, allocations: 0 / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1339, allocations: 31.92 kB / 477.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1339, allocations: 4 kB / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.134, allocations: 19.98 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.134, allocations: 4 kB / 477.5 MB, free: 7.848 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 9.409e-05/0.1341, allocations: 130.4 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1342, allocations: 11.81 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.1346, allocations: 190.6 kB / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1346, allocations: 3.938 kB / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1346, allocations: 0 / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1346, allocations: 0 / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006587/0.1352, allocations: 492 kB / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.1353, allocations: 0 / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1354, allocations: 36.03 kB / 478.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1354, allocations: 0 / 478.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1354, allocations: 4 kB / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1354, allocations: 0 / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1354, allocations: 0 / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.1358, allocations: 276.8 kB / 478.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.1358, allocations: 92.98 kB / 478.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1359, allocations: 8 kB / 478.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.136, allocations: 15.98 kB / 478.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.136, allocations: 7.984 kB / 478.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1361, allocations: 4 kB / 478.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1362, allocations: 151.2 kB / 478.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1362, allocations: 0 / 478.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1365, allocations: 28 kB / 478.9 MB, free: 6.309 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.001028/0.1375, allocations: 464.1 kB / 479.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1378, allocations: 123.8 kB / 479.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1378, allocations: 0 / 479.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.138, allocations: 72.02 kB / 479.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1383, allocations: 23.92 kB / 479.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.1388, allocations: 323.6 kB / 479.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1391, allocations: 0.716 MB / 480.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.1392, allocations: 12.44 kB / 480.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.1392, allocations: 19.42 kB / 480.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1392, allocations: 0 / 480.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of Templates: time 0.003807/0.143, allocations: 1.434 MB / 482.1 MB, free: 3.277 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches