Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001766/0.001767, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 83.48 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.112, allocations: 62.45 MB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003431/0.1155, allocations: 1.706 MB / 481.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1173, allocations: 1.163 MB / 482.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.1174, allocations: 4 kB / 482.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.1177, allocations: 23.91 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.118, allocations: 67.77 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.1185, allocations: 123 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.1187, allocations: 71.78 kB / 482.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.1189, allocations: 19.98 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.119, allocations: 27.91 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.1192, allocations: 43.77 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1192, allocations: 4 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.1194, allocations: 95.89 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.1195, allocations: 15.97 kB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.1195, allocations: 27.8 kB / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.1198, allocations: 143.7 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1198, allocations: 4 kB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1199, allocations: 0 / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1199, allocations: 7.938 kB / 483 MB, free: 2.043 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006733/0.1206, allocations: 407.3 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1206, allocations: 8.031 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.1207, allocations: 8.844 kB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1209, allocations: 188.3 kB / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1209, allocations: 4.375 kB / 483.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.1209, allocations: 384 / 483.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1211, allocations: 83.5 kB / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1212, allocations: 0 / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1212, allocations: 0 / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1212, allocations: 3.938 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.1213, allocations: 35.97 kB / 483.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.1217, allocations: 304.6 kB / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.1219, allocations: 46.55 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.1219, allocations: 28.88 kB / 484.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.122, allocations: 0 / 484.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.122, allocations: 38.56 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.122, allocations: 0 / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008223/0.1228, allocations: 201.2 kB / 484.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.1229, allocations: 81.11 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1231, allocations: 153.7 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1231, allocations: 29.7 kB / 484.6 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.1231, allocations: 92.14 kB / 484.7 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1232, allocations: 23.72 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.1232, allocations: 21.7 kB / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1234, allocations: 322.8 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.1235, allocations: 35.97 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1236, allocations: 45.69 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.1238, allocations: 72.81 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1238, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002475/0.1241, allocations: 113.5 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1241, allocations: 4 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1241, allocations: 4 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.1241, allocations: 0 / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1242, allocations: 19.97 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1243, allocations: 4 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.1243, allocations: 15.92 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1243, allocations: 4 kB / 485.4 MB, free: 15.45 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 (7): * Single equations (assignments): 7 * 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 8.841e-05/0.1244, allocations: 117.8 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.1245, allocations: 7.906 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.1248, allocations: 126.3 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1248, allocations: 0 / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1248, allocations: 4 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1248, allocations: 3.938 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.1253, allocations: 390.8 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1253, allocations: 3.984 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.1254, allocations: 19.98 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1254, allocations: 288 / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1254, allocations: 3.938 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1255, allocations: 4 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1255, allocations: 4 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.1258, allocations: 215.5 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.1258, allocations: 92.98 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1259, allocations: 3.938 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.126, allocations: 11.92 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.126, allocations: 11.94 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.126, allocations: 11.94 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1261, allocations: 109.4 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1262, allocations: 0 / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.1264, allocations: 47.98 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001116/0.1276, allocations: 482.3 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.1279, allocations: 83.92 kB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1279, allocations: 0 / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.128, allocations: 43.91 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1283, allocations: 19.89 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.1288, allocations: 222 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.1292, allocations: 0.6981 MB / 488.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.174e-05/0.1293, allocations: 16.3 kB / 488.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.1294, allocations: 23.42 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1294, allocations: 0 / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.004456/0.1338, allocations: 1.859 MB / 490 MB, free: 10.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches