Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 109.6 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.001297/0.001297, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.08 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 74.95 kB / 418.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1232, allocations: 62.45 MB / 480.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003418/0.1267, allocations: 1.678 MB / 482.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.1277, allocations: 0.5649 MB / 482.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.1278, allocations: 0 / 482.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005305/0.1283, allocations: 455.1 kB / 483.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.1289, allocations: 295.3 kB / 483.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.1293, allocations: 134.9 kB / 483.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.1295, allocations: 175.6 kB / 484 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1297, allocations: 24.22 kB / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1299, allocations: 115.7 kB / 484.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.1301, allocations: 211.6 kB / 484.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.1301, allocations: 4 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1303, allocations: 59.89 kB / 484.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1304, allocations: 79.7 kB / 484.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1305, allocations: 107 kB / 484.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.1309, allocations: 270.9 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1309, allocations: 7.984 kB / 484.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1309, allocations: 0 / 484.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.131, allocations: 0 / 484.8 MB, free: 1.145 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.0008756/0.1318, allocations: 0.6534 MB / 485.5 MB, free: 452 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1319, allocations: 8.031 kB / 485.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.811e-05/0.132, allocations: 44.38 kB / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.1323, allocations: 296.1 kB / 485.8 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1323, allocations: 4.375 kB / 485.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.1324, allocations: 4.375 kB / 485.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.1326, allocations: 73.78 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1326, allocations: 0 / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1327, allocations: 0 / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1327, allocations: 4 kB / 485.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.1328, allocations: 43.84 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/0.1335, allocations: 408.6 kB / 486.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.1338, allocations: 62.52 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.1339, allocations: 24.97 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1339, allocations: 0 / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.134, allocations: 34.56 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.134, allocations: 0 / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001619/0.1356, allocations: 468 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1356, allocations: 55.34 kB / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008676/0.1365, allocations: 0.8613 MB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1365, allocations: 29.7 kB / 487.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1367, allocations: 216 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.1368, allocations: 35.45 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.1368, allocations: 25.7 kB / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.137, allocations: 362.8 kB / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1372, allocations: 47.91 kB / 488.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1373, allocations: 47.95 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1375, allocations: 96.75 kB / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1376, allocations: 4 kB / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003579/0.1379, allocations: 165.4 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1379, allocations: 7.984 kB / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.138, allocations: 8 kB / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.138, allocations: 0 / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1381, allocations: 31.86 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1381, allocations: 0 / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.1382, allocations: 15.98 kB / 488.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1382, allocations: 0 / 488.9 MB, free: 12.83 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 (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.0002035/0.1384, allocations: 217.7 kB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.1385, allocations: 43.44 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.139, allocations: 209.4 kB / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.139, allocations: 7.938 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.139, allocations: 0 / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.139, allocations: 0 / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008183/0.1398, allocations: 0.5702 MB / 490 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1399, allocations: 0 / 490 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.14, allocations: 28.02 kB / 490 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.14, allocations: 7.922 kB / 490 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.14, allocations: 4 kB / 490 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.14, allocations: 192 / 490 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.358e-05/0.14, allocations: 12.06 kB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.1405, allocations: 288.5 kB / 490.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.1406, allocations: 104.6 kB / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.1406, allocations: 4 kB / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1407, allocations: 15.98 kB / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.1408, allocations: 4 kB / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1408, allocations: 7.984 kB / 490.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006097/0.1414, allocations: 0.6511 MB / 491.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1414, allocations: 0 / 491.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.1417, allocations: 32 kB / 491.1 MB, free: 10.52 MB / 366.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.001094/0.1428, allocations: 452.8 kB / 491.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.1432, allocations: 123.8 kB / 491.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1432, allocations: 0 / 491.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1433, allocations: 59.91 kB / 491.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.1438, allocations: 40.81 kB / 491.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1451, allocations: 0.889 MB / 492.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.1455, allocations: 0.826 MB / 493.5 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.1456, allocations: 19.42 kB / 493.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1456, allocations: 0 / 493.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of Templates: time 0.008513/0.1541, allocations: 4.102 MB / 497.6 MB, free: 4.121 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches