Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008752/0.0008752, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.001066/0.001066, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.457/1.457, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.2317/0.2317, allocations: 44.24 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003358, allocations: 13.03 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.001855/0.1328, allocations: 1.325 MB / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008009/0.1336, allocations: 431.3 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.1336, allocations: 4 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006036/0.1343, allocations: 459.1 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.1346, allocations: 243.5 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.1352, allocations: 161.1 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.1355, allocations: 167.6 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1356, allocations: 20.16 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1358, allocations: 103.8 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.136, allocations: 203.6 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.136, allocations: 0 / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.772e-05/0.1361, allocations: 27.98 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1362, allocations: 79.69 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.1364, allocations: 124.7 kB / 475.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.1367, allocations: 247.2 kB / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1367, allocations: 0 / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1367, allocations: 0 / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1367, allocations: 4 kB / 475.8 MB, free: 9.746 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.0007315/0.1374, allocations: 0.5834 MB / 476.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.1375, allocations: 8.031 kB / 476.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.1376, allocations: 48.36 kB / 476.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1378, allocations: 292.2 kB / 476.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.1379, allocations: 384 / 476.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.1379, allocations: 4.375 kB / 476.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.1381, allocations: 61.62 kB / 476.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1381, allocations: 3.938 kB / 476.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1382, allocations: 0 / 476.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1382, allocations: 0 / 476.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1383, allocations: 43.97 kB / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.1389, allocations: 396.6 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1391, allocations: 46.5 kB / 477.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.733e-05/0.1391, allocations: 20.94 kB / 477.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1392, allocations: 0 / 477.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.1392, allocations: 34.56 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1392, allocations: 4 kB / 477.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000659/0.1399, allocations: 252 kB / 477.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1399, allocations: 51.41 kB / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008668/0.1408, allocations: 0.8691 MB / 478.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1408, allocations: 33.58 kB / 478.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.141, allocations: 216.1 kB / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.1411, allocations: 19.7 kB / 478.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.1411, allocations: 13.72 kB / 478.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1413, allocations: 354.8 kB / 479.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-05/0.1414, allocations: 31.97 kB / 479.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.227e-05/0.1414, allocations: 23.98 kB / 479.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.1416, allocations: 60.83 kB / 479.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1416, allocations: 7.938 kB / 479.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002503/0.1419, allocations: 121.2 kB / 479.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1419, allocations: 7.984 kB / 479.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1419, allocations: 0 / 479.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1419, allocations: 0 / 479.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/0.142, allocations: 20 kB / 479.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.142, allocations: 0 / 479.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.1421, allocations: 15.92 kB / 479.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1421, allocations: 0 / 479.4 MB, free: 5.918 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 (5): * Single equations (assignments): 5 * 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.0001845/0.1423, allocations: 210.3 kB / 479.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.1423, allocations: 47.42 kB / 479.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.1427, allocations: 149 kB / 479.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1427, allocations: 3.984 kB / 479.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1427, allocations: 0 / 479.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1427, allocations: 3.938 kB / 479.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.1433, allocations: 474.7 kB / 480.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1433, allocations: 4.062 kB / 480.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.1433, allocations: 15.98 kB / 480.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1433, allocations: 0 / 480.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1435, allocations: 7.938 kB / 480.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.1435, allocations: 3.984 kB / 480.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1435, allocations: 0 / 480.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.1438, allocations: 231.2 kB / 480.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.1439, allocations: 112.5 kB / 480.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.1439, allocations: 3.938 kB / 480.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.144, allocations: 11.98 kB / 480.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.1441, allocations: 11.98 kB / 480.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.1441, allocations: 3.938 kB / 480.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007932/0.1449, allocations: 0.6511 MB / 481.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1449, allocations: 3.938 kB / 481.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1451, allocations: 20 kB / 481.3 MB, free: 3.867 MB / 350.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 (5): * Single equations (assignments): 5 * 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.0009409/0.1461, allocations: 394.4 kB / 481.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.1463, allocations: 55.97 kB / 481.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1463, allocations: 0 / 481.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.1464, allocations: 43.91 kB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1468, allocations: 13.97 kB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.1481, allocations: 0.8764 MB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.1487, allocations: 0.8262 MB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.806e-05/0.1487, allocations: 11.98 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.1488, allocations: 11.44 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1488, allocations: 0 / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Templates: time 0.004532/0.1533, allocations: 1.366 MB / 484.9 MB, free: 388 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches