Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, 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.00113/0.00113, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2087/0.2087, allocations: 46.11 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 78.42 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1303, allocations: 62.44 MB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003594/0.1339, allocations: 1.658 MB / 482.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.1363, allocations: 1.202 MB / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1364, allocations: 0 / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.1367, allocations: 27.78 kB / 483.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004795/0.1373, allocations: 91.61 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.1379, allocations: 174.9 kB / 483.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1381, allocations: 75.78 kB / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1383, allocations: 23.97 kB / 483.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.89e-05/0.1383, allocations: 27.92 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1385, allocations: 39.78 kB / 484 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1386, allocations: 4 kB / 484 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.1388, allocations: 95.88 kB / 484.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.78e-05/0.1389, allocations: 23.97 kB / 484.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.1389, allocations: 23.81 kB / 484.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.1392, allocations: 151.6 kB / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1392, allocations: 0 / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1393, allocations: 0 / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1393, allocations: 4 kB / 484.3 MB, free: 1.652 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.0006204/0.1399, allocations: 411.3 kB / 484.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1399, allocations: 15.97 kB / 484.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.14, allocations: 8.844 kB / 484.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1403, allocations: 186.9 kB / 484.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1403, allocations: 8.375 kB / 484.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1403, allocations: 384 / 484.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.1405, allocations: 87.48 kB / 485 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1406, allocations: 3.938 kB / 485 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1406, allocations: 0 / 485 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1406, allocations: 7.938 kB / 485 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1407, allocations: 39.95 kB / 485.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.1412, allocations: 316.7 kB / 485.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1414, allocations: 38.56 kB / 485.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.1415, allocations: 28.88 kB / 485.4 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1415, allocations: 4 kB / 485.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.1415, allocations: 38.55 kB / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1416, allocations: 4 kB / 485.5 MB, free: 320 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009461/0.1425, allocations: 225.1 kB / 485.7 MB, free: 88 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.1426, allocations: 77.11 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.1428, allocations: 153.8 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1428, allocations: 29.7 kB / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.1429, allocations: 96.12 kB / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.1429, allocations: 27.62 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.143, allocations: 21.72 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1431, allocations: 322.8 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1432, allocations: 31.97 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1434, allocations: 57.67 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.1436, allocations: 88.8 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1436, allocations: 0 / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003064/0.144, allocations: 129.7 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.144, allocations: 8 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.144, allocations: 0 / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.144, allocations: 0 / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1442, allocations: 23.98 kB / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1442, allocations: 0 / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1443, allocations: 11.92 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1443, allocations: 7.938 kB / 486.8 MB, free: 14.95 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 0.0001079/0.1444, allocations: 117.8 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.1445, allocations: 7.906 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/0.1449, allocations: 146.2 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.1449, allocations: 4 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1449, allocations: 0 / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1449, allocations: 3.938 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006981/0.1456, allocations: 418.4 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1457, allocations: 4 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.216e-05/0.1458, allocations: 19.98 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1458, allocations: 0 / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1458, allocations: 3.938 kB / 487.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1458, allocations: 0 / 487.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1458, allocations: 3.938 kB / 487.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.1462, allocations: 219.4 kB / 487.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.1462, allocations: 89 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.1463, allocations: 3.938 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.1464, allocations: 15.98 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1464, allocations: 0 / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1464, allocations: 11.94 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1466, allocations: 117.4 kB / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1466, allocations: 0 / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.1469, allocations: 43.98 kB / 488 MB, free: 13.64 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.1481, allocations: 489 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.1485, allocations: 95.92 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1485, allocations: 8 kB / 488.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.1486, allocations: 51.89 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.149, allocations: 15 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.1496, allocations: 243.5 kB / 488.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.15, allocations: 0.7001 MB / 489.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.15, allocations: 23.42 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.15, allocations: 0 / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Templates: time 0.004855/0.1549, allocations: 2.183 MB / 491.7 MB, free: 9.957 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches