Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, 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.001521/0.001521, 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.386/1.386, allocations: 227.4 MB / 247.4 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.1 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 77.33 kB / 418.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1261, allocations: 62.45 MB / 480.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003518/0.1297, allocations: 1.671 MB / 482.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1308, allocations: 0.5844 MB / 483 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.1309, allocations: 0 / 483 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.1311, allocations: 55.75 kB / 483 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.1315, allocations: 103.6 kB / 483.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.1319, allocations: 174.7 kB / 483.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.1321, allocations: 87.81 kB / 483.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1323, allocations: 28.2 kB / 483.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.665e-05/0.1324, allocations: 43.78 kB / 483.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1325, allocations: 43.83 kB / 483.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1325, allocations: 4 kB / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1326, allocations: 59.97 kB / 483.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.1327, allocations: 19.92 kB / 483.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.1328, allocations: 35.73 kB / 483.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.133, allocations: 115.7 kB / 483.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.133, allocations: 3.938 kB / 483.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.133, allocations: 0 / 483.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.133, allocations: 4 kB / 483.7 MB, free: 2.281 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.0006818/0.1337, allocations: 415.2 kB / 484.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1338, allocations: 8.031 kB / 484.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.1338, allocations: 12.75 kB / 484.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.1341, allocations: 200.1 kB / 484.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1341, allocations: 4.375 kB / 484.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.1341, allocations: 8.375 kB / 484.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.1343, allocations: 73.72 kB / 484.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1343, allocations: 0 / 484.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1344, allocations: 4 kB / 484.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1344, allocations: 0 / 484.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1346, allocations: 43.95 kB / 484.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.1351, allocations: 336.5 kB / 484.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.1353, allocations: 58.55 kB / 484.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.111e-05/0.1354, allocations: 24.97 kB / 484.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.1355, allocations: 0 / 484.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.1355, allocations: 34.56 kB / 484.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1355, allocations: 0 / 484.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001633/0.1372, allocations: 437.1 kB / 485.3 MB, free: 500 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.1372, allocations: 55.34 kB / 485.4 MB, free: 432 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1374, allocations: 203.3 kB / 485.6 MB, free: 216 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1375, allocations: 29.7 kB / 485.6 MB, free: 180 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.1375, allocations: 104.1 kB / 485.7 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.073e-05/0.1376, allocations: 35.45 kB / 485.8 MB, free: 36 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.1377, allocations: 25.72 kB / 485.8 MB, free: 4 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1379, allocations: 322.8 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.138, allocations: 56.14 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1382, allocations: 59.95 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.1384, allocations: 124.8 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1385, allocations: 0 / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003392/0.1388, allocations: 173.6 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1388, allocations: 14.48 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1388, allocations: 0 / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1389, allocations: 4 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.139, allocations: 27.92 kB / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.139, allocations: 0 / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.1391, allocations: 7.984 kB / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1391, allocations: 4 kB / 486.6 MB, free: 15.21 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.0001068/0.1392, allocations: 133.8 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.1392, allocations: 7.906 kB / 486.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.1397, allocations: 194.9 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1397, allocations: 7.938 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1397, allocations: 0 / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1397, allocations: 0 / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/0.1404, allocations: 0.5038 MB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1404, allocations: 0 / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1405, allocations: 27.97 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1405, allocations: 0 / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1405, allocations: 4.094 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1405, allocations: 8 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.1405, allocations: 0 / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.141, allocations: 272.9 kB / 487.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.1411, allocations: 92.92 kB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.1411, allocations: 8 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.319e-05/0.1412, allocations: 7.984 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.1413, allocations: 11.98 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1413, allocations: 7.984 kB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1414, allocations: 147.9 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1414, allocations: 0 / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1417, allocations: 28 kB / 488 MB, free: 13.65 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.001188/0.1429, allocations: 458.3 kB / 488.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.1432, allocations: 135.8 kB / 488.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1433, allocations: 0 / 488.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1434, allocations: 71.89 kB / 488.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1438, allocations: 27.64 kB / 488.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.1445, allocations: 346 kB / 489 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.1449, allocations: 0.7197 MB / 489.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.1449, allocations: 15.44 kB / 489.8 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1449, allocations: 0 / 489.8 MB, free: 12 MB / 366.1 MB Notification: Performance of Templates: time 0.003939/0.1489, allocations: 2.073 MB / 491.8 MB, free: 9.922 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches