Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001352, allocations: 75.86 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1396, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003635/0.1433, allocations: 1.677 MB / 483.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1444, allocations: 0.5493 MB / 483.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/0.1445, allocations: 4 kB / 483.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.1448, allocations: 75.7 kB / 483.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.1452, allocations: 103.6 kB / 483.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.1456, allocations: 135.4 kB / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.1458, allocations: 87.8 kB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.1459, allocations: 20.22 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.146, allocations: 47.77 kB / 484.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.1462, allocations: 47.83 kB / 484.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.1462, allocations: 8 kB / 484.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1463, allocations: 47.97 kB / 484.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.092e-05/0.1464, allocations: 27.92 kB / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.1465, allocations: 35.73 kB / 484.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1467, allocations: 119.6 kB / 484.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1468, allocations: 0 / 484.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1468, allocations: 4 kB / 484.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.1468, allocations: 0 / 484.4 MB, free: 1.543 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.0006747/0.1475, allocations: 422.9 kB / 484.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.1475, allocations: 12.03 kB / 484.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.1476, allocations: 12.84 kB / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1479, allocations: 192.8 kB / 485.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1479, allocations: 4.375 kB / 485.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1479, allocations: 12.28 kB / 485.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.1481, allocations: 69.72 kB / 485.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1481, allocations: 0 / 485.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1482, allocations: 7.938 kB / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1482, allocations: 4 kB / 485.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.1483, allocations: 39.91 kB / 485.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.1488, allocations: 308.8 kB / 485.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.1491, allocations: 54.55 kB / 485.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.1492, allocations: 28.97 kB / 485.6 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1493, allocations: 3.984 kB / 485.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.1493, allocations: 34.56 kB / 485.6 MB, free: 204 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1493, allocations: 4 kB / 485.6 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001453/0.1508, allocations: 396.8 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1508, allocations: 59.34 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1511, allocations: 214.3 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.1511, allocations: 29.7 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.1512, allocations: 104 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.1513, allocations: 39.47 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.1513, allocations: 21.7 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1515, allocations: 322.8 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1516, allocations: 47.97 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1517, allocations: 43.91 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.1519, allocations: 101.1 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.152, allocations: 0 / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000307/0.1523, allocations: 149.4 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1523, allocations: 4 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1523, allocations: 0 / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1523, allocations: 0 / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1524, allocations: 35.84 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1525, allocations: 0.5625 kB / 487.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.1525, allocations: 15.98 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1525, allocations: 4 kB / 487.2 MB, free: 14.58 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.0001297/0.1527, allocations: 133.8 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.1527, allocations: 11.81 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.1531, allocations: 166.9 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1531, allocations: 3.938 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1532, allocations: 4 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1532, allocations: 7.984 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.1538, allocations: 475.9 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1538, allocations: 3.984 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.565e-05/0.1539, allocations: 23.98 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1539, allocations: 4.094 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1539, allocations: 12 kB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.154, allocations: 11.88 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.154, allocations: 0 / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.1543, allocations: 249.1 kB / 488.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.1544, allocations: 88.92 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1544, allocations: 8 kB / 488.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.1545, allocations: 7.984 kB / 488.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1546, allocations: 15.98 kB / 488.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1546, allocations: 0 / 488.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1547, allocations: 164.2 kB / 488.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1547, allocations: 0 / 488.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.155, allocations: 31.98 kB / 488.6 MB, free: 13.07 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.001054/0.1561, allocations: 448.2 kB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.1564, allocations: 107.9 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1564, allocations: 0 / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1565, allocations: 63.89 kB / 489.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.1569, allocations: 27.66 kB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.1575, allocations: 300.9 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1578, allocations: 0.7158 MB / 490.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.878e-05/0.1579, allocations: 20.48 kB / 490.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.158, allocations: 15.44 kB / 490.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of SimCode: time 4.6e-07/0.158, allocations: 0 / 490.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of Templates: time 0.004459/0.1624, allocations: 1.55 MB / 491.8 MB, free: 9.949 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches