Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 242.4 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.214/0.214, allocations: 44.17 MB / 336.8 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 69.39 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1317, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003743/0.1355, allocations: 1.691 MB / 470.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009503/0.1365, allocations: 455.1 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.1366, allocations: 4 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.1372, allocations: 451.2 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.1376, allocations: 235.6 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.1381, allocations: 171.2 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.1385, allocations: 167.6 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1386, allocations: 19.98 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.1388, allocations: 103.8 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.1391, allocations: 203.6 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.1391, allocations: 4 kB / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.1392, allocations: 39.98 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1394, allocations: 83.69 kB / 472.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1395, allocations: 114.9 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1398, allocations: 200 kB / 473.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1398, allocations: 0 / 473.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1398, allocations: 0 / 473.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1398, allocations: 3.938 kB / 473.1 MB, free: 10.94 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.0008361/0.1407, allocations: 0.6298 MB / 473.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1407, allocations: 12.03 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.1408, allocations: 40.38 kB / 473.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.1411, allocations: 300.1 kB / 474.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1411, allocations: 384 / 474.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.1412, allocations: 12.38 kB / 474.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1414, allocations: 65.73 kB / 474.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1414, allocations: 0 / 474.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1414, allocations: 4 kB / 474.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1414, allocations: 0 / 474.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1415, allocations: 31.97 kB / 474.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.1421, allocations: 412.6 kB / 474.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1423, allocations: 46.56 kB / 474.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.1423, allocations: 16.94 kB / 474.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1424, allocations: 0 / 474.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.1424, allocations: 38.59 kB / 474.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1424, allocations: 3.938 kB / 474.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001048/0.1435, allocations: 332.1 kB / 475 MB, free: 8.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1435, allocations: 55.34 kB / 475 MB, free: 8.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008825/0.1444, allocations: 0.8535 MB / 475.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1444, allocations: 25.7 kB / 475.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1446, allocations: 228 kB / 476.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.1447, allocations: 23.66 kB / 476.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.1447, allocations: 25.7 kB / 476.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1449, allocations: 358.8 kB / 476.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.145, allocations: 31.97 kB / 476.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.059e-05/0.1451, allocations: 31.98 kB / 476.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1453, allocations: 76.81 kB / 476.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1453, allocations: 0 / 476.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002741/0.1455, allocations: 153 kB / 476.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1456, allocations: 4 kB / 476.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1456, allocations: 0 / 476.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1456, allocations: 0 / 476.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1457, allocations: 19.98 kB / 476.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1457, allocations: 3.938 kB / 476.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.1458, allocations: 11.94 kB / 476.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1458, allocations: 0 / 476.9 MB, free: 6.91 MB / 350.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.0001996/0.146, allocations: 218.3 kB / 477.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.1461, allocations: 39.44 kB / 477.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.1464, allocations: 177.7 kB / 477.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1465, allocations: 4 kB / 477.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1465, allocations: 7.938 kB / 477.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1465, allocations: 0 / 477.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/0.1472, allocations: 0.507 MB / 477.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1472, allocations: 3.938 kB / 477.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.021e-05/0.1473, allocations: 15.98 kB / 477.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1473, allocations: 4 kB / 477.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1473, allocations: 4.031 kB / 477.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1473, allocations: 0 / 477.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1473, allocations: 3.938 kB / 477.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.1476, allocations: 243.8 kB / 478.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.1477, allocations: 124.4 kB / 478.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1478, allocations: 0 / 478.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.1479, allocations: 8 kB / 478.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.1479, allocations: 7.984 kB / 478.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.1479, allocations: 4 kB / 478.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000612/0.1485, allocations: 0.6472 MB / 478.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1486, allocations: 0 / 478.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1488, allocations: 35.98 kB / 478.9 MB, free: 4.758 MB / 350.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.001072/0.1499, allocations: 457.2 kB / 479.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.1502, allocations: 71.95 kB / 479.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1502, allocations: 0 / 479.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1503, allocations: 51.95 kB / 479.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.1508, allocations: 29.84 kB / 479.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1521, allocations: 0.9403 MB / 480.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.1525, allocations: 0.8262 MB / 481.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.1526, allocations: 15.44 kB / 481.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1526, allocations: 4 kB / 481.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of Templates: time 0.0079/0.1605, allocations: 3.979 MB / 485.3 MB, free: 14.51 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches