Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11") translateModel(ModelicaTest.Tables.CombiTable2D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002443/0.002448, allocations: 182.2 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.00115, allocations: 88.53 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5164/0.5164, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004725, allocations: 12 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test11): time 0.002637/0.1379, allocations: 1.309 MB / 491.5 MB, free: 9.895 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1398, allocations: 0.8674 MB / 492.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.1399, allocations: 0 / 492.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.1401, allocations: 19.91 kB / 492.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1403, allocations: 35.84 kB / 492.4 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.1408, allocations: 91.81 kB / 492.5 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1409, allocations: 43.88 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.1411, allocations: 8.188 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.1411, allocations: 19.92 kB / 492.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1413, allocations: 23.84 kB / 492.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1413, allocations: 4 kB / 492.6 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1415, allocations: 35.98 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.1415, allocations: 11.92 kB / 492.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.1416, allocations: 33.7 kB / 492.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.1418, allocations: 75.81 kB / 492.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1418, allocations: 3.938 kB / 492.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1418, allocations: 0 / 492.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1418, allocations: 0 / 492.8 MB, free: 8.613 MB / 378.7 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.0006112/0.1424, allocations: 387.4 kB / 493.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1425, allocations: 16.02 kB / 493.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.1425, allocations: 11.86 kB / 493.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1428, allocations: 186.6 kB / 493.4 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1428, allocations: 4 kB / 493.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1428, allocations: 4 kB / 493.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.1431, allocations: 79.31 kB / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1431, allocations: 7.984 kB / 493.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1432, allocations: 0 / 493.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1432, allocations: 0 / 493.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.1434, allocations: 43.92 kB / 493.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.1439, allocations: 300.7 kB / 493.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.1441, allocations: 46.5 kB / 493.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.1442, allocations: 3.938 kB / 493.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1442, allocations: 30.56 kB / 493.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.644e-06/0.1442, allocations: 0 / 493.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001232/0.1455, allocations: 245.3 kB / 494.1 MB, free: 7.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.1455, allocations: 77.11 kB / 494.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1458, allocations: 134.1 kB / 494.3 MB, free: 6.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.1458, allocations: 33.7 kB / 494.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/0.1459, allocations: 162.5 kB / 494.5 MB, free: 6.668 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.146, allocations: 23.7 kB / 494.5 MB, free: 6.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.146, allocations: 3.938 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1461, allocations: 310.8 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.1463, allocations: 39.97 kB / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.1466, allocations: 53.69 kB / 494.9 MB, free: 6.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.1468, allocations: 52.06 kB / 495 MB, free: 6.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1468, allocations: 0 / 495 MB, free: 6.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004935/0.1473, allocations: 121.6 kB / 495.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.1474, allocations: 15.55 kB / 495.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1474, allocations: 0 / 495.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1474, allocations: 0 / 495.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.1476, allocations: 27.98 kB / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1476, allocations: 0 / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.1478, allocations: 11.98 kB / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1478, allocations: 8 kB / 495.2 MB, free: 5.996 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.148, allocations: 113.8 kB / 495.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.148, allocations: 7.906 kB / 495.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000558/0.1486, allocations: 150.1 kB / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1486, allocations: 288 / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1486, allocations: 0 / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1486, allocations: 0 / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008626/0.1495, allocations: 414.4 kB / 495.8 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1495, allocations: 7.891 kB / 495.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1497, allocations: 23.98 kB / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1497, allocations: 8 kB / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1497, allocations: 0 / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1498, allocations: 0 / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1498, allocations: 4.406 kB / 495.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/0.1503, allocations: 227.4 kB / 496.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.1504, allocations: 92.95 kB / 496.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1504, allocations: 0 / 496.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.1506, allocations: 19.98 kB / 496.2 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.1507, allocations: 3.984 kB / 496.2 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1507, allocations: 8 kB / 496.2 MB, free: 4.832 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1508, allocations: 107.2 kB / 496.3 MB, free: 4.727 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1509, allocations: 0 / 496.3 MB, free: 4.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003709/0.1512, allocations: 27.98 kB / 496.4 MB, free: 4.699 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001325/0.1526, allocations: 445.2 kB / 496.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.1531, allocations: 91.94 kB / 496.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.1531, allocations: 4 kB / 496.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.1534, allocations: 55.83 kB / 497 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1537, allocations: 12 kB / 497 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.1543, allocations: 223 kB / 497.2 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1547, allocations: 0.6965 MB / 497.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.601e-05/0.1548, allocations: 15.44 kB / 497.9 MB, free: 3.156 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1548, allocations: 0 / 497.9 MB, free: 3.156 MB / 378.7 MB Notification: Performance of Templates: time 0.005774/0.1606, allocations: 1.782 MB / 499.7 MB, free: 1.375 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches