Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001478, 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.001629/0.001629, allocations: 211.8 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.374/1.374, 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.2333/0.2333, allocations: 46.11 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.001431, allocations: 76.06 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 62.44 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003248/0.1298, allocations: 1.677 MB / 482.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1309, allocations: 0.5806 MB / 483 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.131, allocations: 0 / 483 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1313, allocations: 71.72 kB / 483 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.1316, allocations: 107.6 kB / 483.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.132, allocations: 183.1 kB / 483.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.1322, allocations: 95.73 kB / 483.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1324, allocations: 28.23 kB / 483.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.175e-05/0.1324, allocations: 39.83 kB / 483.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1326, allocations: 55.83 kB / 483.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1326, allocations: 4 kB / 483.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1327, allocations: 51.95 kB / 483.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.1328, allocations: 23.86 kB / 483.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.1328, allocations: 39.69 kB / 483.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.133, allocations: 115.7 kB / 483.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.133, allocations: 0 / 483.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.133, allocations: 4 kB / 483.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1331, allocations: 4 kB / 483.8 MB, free: 2.203 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.0005406/0.1336, allocations: 427.1 kB / 484.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1336, allocations: 8.031 kB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.1337, allocations: 16.84 kB / 484.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1339, allocations: 204 kB / 484.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1339, allocations: 4.312 kB / 484.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.134, allocations: 4.375 kB / 484.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1341, allocations: 81.72 kB / 484.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1342, allocations: 3.984 kB / 484.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1342, allocations: 0 / 484.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1342, allocations: 4 kB / 484.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1343, allocations: 39.97 kB / 484.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.1349, allocations: 332.6 kB / 484.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1351, allocations: 62.55 kB / 484.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.1352, allocations: 24.97 kB / 484.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1352, allocations: 96 / 484.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.1353, allocations: 38.5 kB / 485 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1353, allocations: 0 / 485 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001483/0.1368, allocations: 433.1 kB / 485.4 MB, free: 396 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.1368, allocations: 55.34 kB / 485.5 MB, free: 328 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.137, allocations: 206.4 kB / 485.7 MB, free: 112 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.137, allocations: 29.7 kB / 485.7 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.1371, allocations: 116.1 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.1372, allocations: 35.45 kB / 485.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.1372, allocations: 25.7 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1374, allocations: 326.8 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.1375, allocations: 51.95 kB / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1376, allocations: 51.97 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.1379, allocations: 132.7 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1379, allocations: 0 / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003388/0.1383, allocations: 165.4 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1383, allocations: 8 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1383, allocations: 0 / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1383, allocations: 0 / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1385, allocations: 35.91 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1385, allocations: 0 / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.1386, allocations: 12 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1386, allocations: 11.92 kB / 486.6 MB, free: 15.09 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 9.788e-05/0.1387, allocations: 129.8 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.1387, allocations: 11.81 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.1391, allocations: 199.4 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1392, allocations: 3.938 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.1392, allocations: 3.938 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1392, allocations: 0 / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007128/0.1399, allocations: 0.5077 MB / 487.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1399, allocations: 0 / 487.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.14, allocations: 27.92 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.14, allocations: 7.984 kB / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1401, allocations: 192 / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1401, allocations: 8 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1401, allocations: 0 / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.1405, allocations: 277 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.1405, allocations: 88.95 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1405, allocations: 4 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.1406, allocations: 15.98 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.1407, allocations: 7.984 kB / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.1407, allocations: 11.94 kB / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1409, allocations: 164.2 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1409, allocations: 0 / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1411, allocations: 20 kB / 488.1 MB, free: 13.51 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.00104/0.1422, allocations: 451.1 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003776/0.1426, allocations: 135.8 kB / 488.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1426, allocations: 0 / 488.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1427, allocations: 75.83 kB / 488.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.1431, allocations: 31.39 kB / 488.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/0.1438, allocations: 354.5 kB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1441, allocations: 0.7158 MB / 489.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.1442, allocations: 15.44 kB / 489.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1442, allocations: 4 kB / 489.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of Templates: time 0.003882/0.1481, allocations: 2.12 MB / 492 MB, free: 9.727 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches