Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, allocations: 104.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001838/0.001838, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.12 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 76.75 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1294, allocations: 62.43 MB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003382/0.1328, allocations: 1.724 MB / 481 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1347, allocations: 1.175 MB / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.1348, allocations: 0 / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.135, allocations: 31.84 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.1354, allocations: 63.83 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.1359, allocations: 166.4 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1361, allocations: 75.77 kB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1362, allocations: 16 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.465e-05/0.1363, allocations: 31.84 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.1365, allocations: 39.78 kB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1366, allocations: 4 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.1368, allocations: 95.88 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1369, allocations: 19.97 kB / 482.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.137, allocations: 27.8 kB / 482.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.1374, allocations: 143.6 kB / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1374, allocations: 4 kB / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1374, allocations: 0 / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1374, allocations: 0 / 482.9 MB, free: 2.113 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.0007388/0.1382, allocations: 411.4 kB / 483.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.1382, allocations: 16.81 kB / 483.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.1383, allocations: 8.781 kB / 483.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1386, allocations: 194.9 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1386, allocations: 4.375 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.1386, allocations: 4.375 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.1389, allocations: 79.52 kB / 483.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1389, allocations: 0 / 483.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1389, allocations: 0 / 483.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1389, allocations: 0 / 483.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.1391, allocations: 51.89 kB / 483.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.1396, allocations: 312.7 kB / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.1398, allocations: 46.55 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.1399, allocations: 28.88 kB / 484 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.1399, allocations: 0 / 484 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.14, allocations: 42.5 kB / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.14, allocations: 0 / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009454/0.1409, allocations: 229.2 kB / 484.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.141, allocations: 81.05 kB / 484.4 MB, free: 456 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1412, allocations: 145.8 kB / 484.5 MB, free: 300 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1412, allocations: 25.7 kB / 484.5 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.1413, allocations: 104 kB / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.1413, allocations: 23.66 kB / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.1414, allocations: 25.7 kB / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1415, allocations: 318.8 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1416, allocations: 36.05 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1418, allocations: 61.73 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.142, allocations: 88.78 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.142, allocations: 0 / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002832/0.1423, allocations: 121.5 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1423, allocations: 8.031 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1423, allocations: 0 / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1423, allocations: 4 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1425, allocations: 23.97 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1425, allocations: 0 / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.1426, allocations: 15.92 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1426, allocations: 3.938 kB / 485.4 MB, free: 15.41 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 9.404e-05/0.1427, allocations: 117.8 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.1427, allocations: 12.19 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.1431, allocations: 138.3 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1431, allocations: 3.984 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1431, allocations: 0 / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1431, allocations: 3.938 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.1437, allocations: 418.5 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1437, allocations: 4 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.913e-05/0.1438, allocations: 19.92 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1438, allocations: 0 / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.1438, allocations: 7.938 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1438, allocations: 0 / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1438, allocations: 0 / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.1443, allocations: 223.8 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.1443, allocations: 85.02 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1443, allocations: 7.922 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.1444, allocations: 8 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.1445, allocations: 7.984 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1445, allocations: 11.94 kB / 486.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.667e-05/0.1446, allocations: 117.8 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1446, allocations: 4 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.145, allocations: 36 kB / 486.6 MB, free: 14.11 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.00123/0.1462, allocations: 488.6 kB / 487 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.1465, allocations: 95.91 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1465, allocations: 0 / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.1467, allocations: 55.91 kB / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.147, allocations: 15.98 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.1476, allocations: 243.5 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.1481, allocations: 0.7004 MB / 488.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.1483, allocations: 28.94 kB / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.1483, allocations: 15.44 kB / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1483, allocations: 0 / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of Templates: time 0.006098/0.1544, allocations: 1.869 MB / 490 MB, free: 10.71 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches