Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.12 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002187, allocations: 80.78 kB / 418.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1228, allocations: 62.46 MB / 480.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003568/0.1264, allocations: 1.657 MB / 482.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1276, allocations: 0.5533 MB / 483 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.1277, allocations: 0 / 483 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.1283, allocations: 451.1 kB / 483.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005347/0.1289, allocations: 295.3 kB / 483.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.1292, allocations: 130.8 kB / 483.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.1295, allocations: 171.6 kB / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1296, allocations: 16 kB / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.1297, allocations: 111.8 kB / 484.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.13, allocations: 207.6 kB / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.1301, allocations: 4 kB / 484.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1302, allocations: 39.98 kB / 484.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1303, allocations: 79.69 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.1304, allocations: 103 kB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.1307, allocations: 255 kB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1307, allocations: 0 / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1307, allocations: 0 / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1308, allocations: 0 / 484.8 MB, free: 1.184 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.0007725/0.1315, allocations: 0.6454 MB / 485.4 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1316, allocations: 8.031 kB / 485.5 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.1317, allocations: 40.47 kB / 485.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.132, allocations: 292.2 kB / 485.8 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.132, allocations: 4.375 kB / 485.8 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.132, allocations: 4.375 kB / 485.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1322, allocations: 61.78 kB / 485.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1322, allocations: 0 / 485.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1322, allocations: 4 kB / 485.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1322, allocations: 4 kB / 485.9 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.616e-05/0.1323, allocations: 23.92 kB / 485.9 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.1329, allocations: 384.7 kB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1331, allocations: 42.56 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.1332, allocations: 24.94 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1332, allocations: 0 / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1332, allocations: 34.5 kB / 486.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1332, allocations: 3.938 kB / 486.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006553/0.1339, allocations: 231.9 kB / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.1339, allocations: 51.41 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000904/0.1349, allocations: 0.8614 MB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1349, allocations: 33.69 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.1351, allocations: 224 kB / 487.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.1351, allocations: 11.81 kB / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1352, allocations: 17.7 kB / 487.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1354, allocations: 370.7 kB / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.1354, allocations: 15.98 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.391e-05/0.1355, allocations: 19.98 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1357, allocations: 44.83 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1357, allocations: 0 / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00023/0.1359, allocations: 129 kB / 488.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1359, allocations: 4 kB / 488.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1359, allocations: 0 / 488.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.136, allocations: 256 / 488.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.136, allocations: 15.98 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1361, allocations: 4 kB / 488.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.1361, allocations: 15.86 kB / 488.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1361, allocations: 0 / 488.4 MB, free: 13.37 MB / 366.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 (5): * Single equations (assignments): 5 * 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.0002088/0.1364, allocations: 213.8 kB / 488.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.1364, allocations: 39.53 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.1367, allocations: 133 kB / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1367, allocations: 0 / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1367, allocations: 288 / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1368, allocations: 7.938 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005883/0.1373, allocations: 466.5 kB / 489.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1374, allocations: 0 / 489.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.1374, allocations: 15.97 kB / 489.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1374, allocations: 0 / 489.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1375, allocations: 7.938 kB / 489.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1375, allocations: 0 / 489.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1375, allocations: 3.938 kB / 489.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.1377, allocations: 211 kB / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.1378, allocations: 108.5 kB / 489.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1379, allocations: 3.938 kB / 489.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.439e-05/0.138, allocations: 7.984 kB / 489.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.138, allocations: 8 kB / 489.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.138, allocations: 0 / 489.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000672/0.1387, allocations: 0.6511 MB / 490.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1387, allocations: 4 kB / 490.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.139, allocations: 23.94 kB / 490.3 MB, free: 11.38 MB / 366.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 (5): * Single equations (assignments): 5 * 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.001506/0.1405, allocations: 400.1 kB / 490.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1407, allocations: 47.91 kB / 490.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1407, allocations: 0 / 490.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.1408, allocations: 23.98 kB / 490.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.1412, allocations: 32.2 kB / 490.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1425, allocations: 0.832 MB / 491.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.143, allocations: 0.8182 MB / 492.4 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.143, allocations: 19.44 kB / 492.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.143, allocations: 0 / 492.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of Templates: time 0.007514/0.1505, allocations: 3.722 MB / 496.1 MB, free: 5.57 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches