Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008561/0.0008561, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008987/0.0008988, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 8.375 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.00237/0.1217, allocations: 1.392 MB / 484.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.123, allocations: 0.5418 MB / 485 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.1231, allocations: 4 kB / 485 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005742/0.1237, allocations: 447.2 kB / 485.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.1241, allocations: 275.4 kB / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.1245, allocations: 119.3 kB / 485.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.1248, allocations: 171.6 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1249, allocations: 23.98 kB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1251, allocations: 103.7 kB / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.1254, allocations: 207.6 kB / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1254, allocations: 0 / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1255, allocations: 43.98 kB / 486.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.1257, allocations: 87.67 kB / 486.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.1258, allocations: 128.6 kB / 486.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.1262, allocations: 259 kB / 486.8 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1262, allocations: 0 / 486.8 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1262, allocations: 3.938 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.1262, allocations: 0 / 486.8 MB, free: 372 kB / 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.0007907/0.127, allocations: 0.6031 MB / 487.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1271, allocations: 8.031 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/0.1272, allocations: 44.38 kB / 487.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.1276, allocations: 300.1 kB / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1276, allocations: 384 / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.1276, allocations: 4.375 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1278, allocations: 65.73 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1278, allocations: 4 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1279, allocations: 4 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1279, allocations: 0 / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.128, allocations: 35.97 kB / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.1286, allocations: 400.5 kB / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.1288, allocations: 50.55 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.1288, allocations: 16.86 kB / 488.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.1288, allocations: 4.078 kB / 488.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1289, allocations: 34.59 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1289, allocations: 4 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001063/0.13, allocations: 335.8 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.13, allocations: 59.34 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009053/0.1309, allocations: 0.8653 MB / 489.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1309, allocations: 25.7 kB / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.1311, allocations: 220.1 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.1312, allocations: 31.55 kB / 489.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.1312, allocations: 13.72 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1314, allocations: 366.8 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.144e-05/0.1315, allocations: 23.98 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.399e-05/0.1316, allocations: 27.98 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1317, allocations: 73.06 kB / 490.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1317, allocations: 0 / 490.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002829/0.132, allocations: 153 kB / 490.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1321, allocations: 7.938 kB / 490.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.1321, allocations: 3.984 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1321, allocations: 4 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1322, allocations: 16 kB / 490.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1322, allocations: 11.86 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.1323, allocations: 8 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1323, allocations: 4 kB / 490.6 MB, free: 12.35 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 (8): * Single equations (assignments): 8 * 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.0002075/0.1325, allocations: 213.8 kB / 490.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.1326, allocations: 39.52 kB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.133, allocations: 169.3 kB / 491 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.133, allocations: 4 kB / 491 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.133, allocations: 3.938 kB / 491 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.133, allocations: 4 kB / 491 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/0.1338, allocations: 0.507 MB / 491.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1338, allocations: 7.969 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.1339, allocations: 16 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1339, allocations: 4 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1339, allocations: 7.984 kB / 491.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1339, allocations: 0 / 491.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.1339, allocations: 7.938 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.1343, allocations: 239.8 kB / 491.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.552e-05/0.1344, allocations: 120.5 kB / 491.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.1344, allocations: 0 / 491.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.1345, allocations: 7.984 kB / 491.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.1345, allocations: 4 kB / 492 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.1346, allocations: 8 kB / 492 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006916/0.1353, allocations: 0.655 MB / 492.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1353, allocations: 0 / 492.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1355, allocations: 28 kB / 492.6 MB, free: 10.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001199/0.1368, allocations: 458.8 kB / 493.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.137, allocations: 71.94 kB / 493.2 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.137, allocations: 0 / 493.2 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1371, allocations: 51.97 kB / 493.2 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.1376, allocations: 31.8 kB / 493.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.139, allocations: 0.901 MB / 494.1 MB, free: 8.836 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.1395, allocations: 0.8379 MB / 495 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.273e-05/0.1396, allocations: 12.42 kB / 495 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.1396, allocations: 11.44 kB / 495 MB, free: 7.945 MB / 366.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1396, allocations: 0 / 495 MB, free: 7.945 MB / 366.1 MB Notification: Performance of Templates: time 0.005168/0.1448, allocations: 1.609 MB / 496.6 MB, free: 6.34 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches