Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 100.4 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001871/0.001871, allocations: 198.2 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.7 MB / 246.4 MB, free: 9.715 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.19 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 8 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1266, allocations: 63.56 MB / 482.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001901/0.1286, allocations: 1.374 MB / 483.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009147/0.1295, allocations: 0.5343 MB / 484.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.1296, allocations: 0 / 484.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.1298, allocations: 55.8 kB / 484.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1301, allocations: 67.8 kB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1305, allocations: 167.3 kB / 484.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1306, allocations: 67.83 kB / 484.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1307, allocations: 28.2 kB / 484.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.1308, allocations: 27.8 kB / 484.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1309, allocations: 39.83 kB / 484.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1309, allocations: 0 / 484.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.993e-05/0.131, allocations: 39.98 kB / 484.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.843e-05/0.1311, allocations: 19.92 kB / 484.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.1311, allocations: 33.64 kB / 484.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1313, allocations: 83.88 kB / 484.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1313, allocations: 7.984 kB / 484.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1313, allocations: 0 / 484.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.1313, allocations: 0 / 484.9 MB, free: 1.957 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.0005225/0.1318, allocations: 405.4 kB / 485.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1319, allocations: 8.031 kB / 485.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.132, allocations: 11.91 kB / 485.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.1322, allocations: 194.8 kB / 485.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1322, allocations: 4 kB / 485.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.1322, allocations: 8 kB / 485.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1324, allocations: 69.66 kB / 485.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1324, allocations: 3.938 kB / 485.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1324, allocations: 4 kB / 485.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1324, allocations: 3.938 kB / 485.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1326, allocations: 59.89 kB / 485.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.133, allocations: 320.7 kB / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.1333, allocations: 66.58 kB / 486.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/0.1333, allocations: 32.97 kB / 486.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1334, allocations: 0 / 486.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1334, allocations: 34.56 kB / 486.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/0.1334, allocations: 3.984 kB / 486.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001437/0.1349, allocations: 0.4933 MB / 486.6 MB, free: 92 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1349, allocations: 55.41 kB / 486.7 MB, free: 24 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1351, allocations: 178.2 kB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1351, allocations: 25.7 kB / 486.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.1352, allocations: 100.1 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.1353, allocations: 47.38 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.1353, allocations: 0 / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1354, allocations: 322.8 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1356, allocations: 63.95 kB / 487.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.1357, allocations: 63.91 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.1359, allocations: 71.95 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1359, allocations: 0 / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003402/0.1362, allocations: 177.5 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1362, allocations: 4 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1363, allocations: 4 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1363, allocations: 3.953 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1364, allocations: 32.05 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1364, allocations: 4 kB / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.1365, allocations: 19.98 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1365, allocations: 4 kB / 487.8 MB, free: 14.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.1366, allocations: 134.3 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.1366, allocations: 11.81 kB / 487.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.1371, allocations: 198.7 kB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1371, allocations: 7.984 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.1371, allocations: 3.953 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1371, allocations: 0 / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006541/0.1378, allocations: 0.5078 MB / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1378, allocations: 3.938 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.965e-05/0.1379, allocations: 32.03 kB / 488.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1379, allocations: 3.938 kB / 488.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1379, allocations: 7.984 kB / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1379, allocations: 0 / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1379, allocations: 0 / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.1383, allocations: 301.1 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.1383, allocations: 85.02 kB / 489.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1384, allocations: 3.953 kB / 489.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.1385, allocations: 19.98 kB / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.1385, allocations: 7.984 kB / 489.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1385, allocations: 4 kB / 489.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1386, allocations: 142.4 kB / 489.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1386, allocations: 0 / 489.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1389, allocations: 35.89 kB / 489.3 MB, free: 13.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.14, allocations: 449.6 kB / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.1404, allocations: 143.8 kB / 489.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1404, allocations: 4 kB / 489.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1405, allocations: 79.89 kB / 489.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1409, allocations: 15.98 kB / 490 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.1415, allocations: 331 kB / 490.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.1419, allocations: 0.716 MB / 491 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.418e-05/0.142, allocations: 36.47 kB / 491 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.142, allocations: 19.44 kB / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.142, allocations: 0 / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of Templates: time 0.004417/0.1464, allocations: 1.489 MB / 492.5 MB, free: 10.13 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches