Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001264, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 46.11 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 82.92 kB / 418.3 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1242, allocations: 62.45 MB / 480.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003298/0.1276, allocations: 1.685 MB / 482.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1287, allocations: 0.5805 MB / 483 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.1287, allocations: 0 / 483 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.129, allocations: 63.78 kB / 483.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.1293, allocations: 103.6 kB / 483.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.1298, allocations: 179 kB / 483.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.13, allocations: 91.75 kB / 483.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1301, allocations: 24.22 kB / 483.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.886e-05/0.1302, allocations: 39.84 kB / 483.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.94e-05/0.1303, allocations: 43.83 kB / 483.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1304, allocations: 8 kB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1305, allocations: 59.91 kB / 483.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.1306, allocations: 19.92 kB / 483.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.1306, allocations: 31.75 kB / 483.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.1308, allocations: 111.7 kB / 483.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1308, allocations: 3.984 kB / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1308, allocations: 0 / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1309, allocations: 4 kB / 483.8 MB, free: 2.156 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.0005702/0.1314, allocations: 415.2 kB / 484.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1315, allocations: 12.03 kB / 484.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.1315, allocations: 12.75 kB / 484.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1318, allocations: 204 kB / 484.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1318, allocations: 384 / 484.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1318, allocations: 8.375 kB / 484.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.132, allocations: 65.8 kB / 484.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.132, allocations: 0 / 484.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1321, allocations: 0 / 484.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1321, allocations: 4 kB / 484.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.1322, allocations: 55.83 kB / 484.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.1328, allocations: 316.7 kB / 484.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.133, allocations: 62.58 kB / 484.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.784e-05/0.1331, allocations: 32.97 kB / 485 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1332, allocations: 0 / 485 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.1332, allocations: 34.55 kB / 485 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.1332, allocations: 0 / 485 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001647/0.1349, allocations: 424.8 kB / 485.4 MB, free: 384 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.1349, allocations: 63.28 kB / 485.5 MB, free: 308 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.1351, allocations: 190.2 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1352, allocations: 25.7 kB / 485.7 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.1353, allocations: 112 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.1353, allocations: 39.45 kB / 485.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.1354, allocations: 21.72 kB / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1355, allocations: 334.8 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1357, allocations: 51.95 kB / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.1358, allocations: 52.52 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.1362, allocations: 124.8 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1362, allocations: 0 / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003937/0.1366, allocations: 169.5 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1366, allocations: 4 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1366, allocations: 0 / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1366, allocations: 4 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1368, allocations: 31.86 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1368, allocations: 4 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.117e-05/0.1369, allocations: 15.98 kB / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1369, allocations: 4 kB / 486.6 MB, free: 15.1 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.000129/0.137, allocations: 129.8 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.1371, allocations: 11.81 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/0.1376, allocations: 190.6 kB / 486.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.1376, allocations: 7.938 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.1376, allocations: 0 / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.1376, allocations: 0 / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008593/0.1385, allocations: 0.4961 MB / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1385, allocations: 64 / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1387, allocations: 32.06 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1387, allocations: 7.938 kB / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1387, allocations: 4 kB / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1387, allocations: 0 / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1387, allocations: 4 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.1391, allocations: 280.9 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.1392, allocations: 81.02 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1392, allocations: 7.938 kB / 487.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1393, allocations: 7.984 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.1394, allocations: 15.98 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.1394, allocations: 0 / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1396, allocations: 143.2 kB / 488 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1396, allocations: 4 kB / 488 MB, free: 13.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1398, allocations: 27.98 kB / 488.1 MB, free: 13.55 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.001688/0.1415, allocations: 455.7 kB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.1419, allocations: 139.7 kB / 488.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.142, allocations: 0 / 488.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.1421, allocations: 71.89 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1426, allocations: 27.05 kB / 488.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.1433, allocations: 341.8 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.1436, allocations: 0.7119 MB / 489.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.1437, allocations: 19.44 kB / 489.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1437, allocations: 0 / 489.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of Templates: time 0.004187/0.1479, allocations: 2.07 MB / 491.9 MB, free: 9.824 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches