Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.00151, allocations: 181.8 kB / 16.4 MB, free: 5.746 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.1/2.1, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001145/0.001145, allocations: 86.88 kB / 270.9 MB, free: 8.375 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.5134/0.5134, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004751, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002529/0.1283, allocations: 1.255 MB / 491.5 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007969/0.1291, allocations: 279.8 kB / 491.7 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.1292, allocations: 4 kB / 491.7 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.1294, allocations: 19.86 kB / 491.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.1296, allocations: 31.84 kB / 491.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.13, allocations: 75.78 kB / 491.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.1301, allocations: 27.97 kB / 491.9 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1303, allocations: 15.97 kB / 491.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.1303, allocations: 15.88 kB / 491.9 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.1304, allocations: 23.91 kB / 491.9 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1304, allocations: 0 / 491.9 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.299e-05/0.1305, allocations: 12 kB / 492 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.1306, allocations: 15.92 kB / 492 MB, free: 9.457 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.1307, allocations: 41.64 kB / 492 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1308, allocations: 51.92 kB / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.1308, allocations: 3.938 kB / 492.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1309, allocations: 0 / 492.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1309, allocations: 0 / 492.1 MB, free: 9.355 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005797/0.1315, allocations: 383.2 kB / 492.4 MB, free: 8.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1315, allocations: 12.02 kB / 492.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.1316, allocations: 11.86 kB / 492.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1318, allocations: 183 kB / 492.6 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1319, allocations: 8 kB / 492.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.1319, allocations: 0 / 492.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.1321, allocations: 45.69 kB / 492.7 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1321, allocations: 3.938 kB / 492.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1321, allocations: 7.953 kB / 492.7 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1322, allocations: 4 kB / 492.7 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.1323, allocations: 23.97 kB / 492.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.1328, allocations: 272.9 kB / 493 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.1331, allocations: 50.48 kB / 493.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1331, allocations: 0 / 493.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.1331, allocations: 38.52 kB / 493.1 MB, free: 8.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.1331, allocations: 4 kB / 493.1 MB, free: 8.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008186/0.134, allocations: 153.4 kB / 493.2 MB, free: 8.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.134, allocations: 51.41 kB / 493.3 MB, free: 7.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.1343, allocations: 173.3 kB / 493.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1343, allocations: 25.7 kB / 493.5 MB, free: 7.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.1344, allocations: 158.6 kB / 493.6 MB, free: 7.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.1345, allocations: 19.66 kB / 493.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.1345, allocations: 3.938 kB / 493.7 MB, free: 7.562 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1346, allocations: 318.8 kB / 494 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1348, allocations: 23.98 kB / 494 MB, free: 7.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1349, allocations: 23.98 kB / 494 MB, free: 7.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.135, allocations: 19.98 kB / 494 MB, free: 7.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1351, allocations: 0 / 494 MB, free: 7.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003602/0.1354, allocations: 97.5 kB / 494.1 MB, free: 7.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.1355, allocations: 8 kB / 494.1 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1355, allocations: 0 / 494.1 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1355, allocations: 0 / 494.1 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1356, allocations: 16.23 kB / 494.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1357, allocations: 0 / 494.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.1358, allocations: 12 kB / 494.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1358, allocations: 4 kB / 494.2 MB, free: 7.035 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 (5): * Single equations (assignments): 5 * 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.000122/0.1359, allocations: 117.8 kB / 494.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.136, allocations: 11.86 kB / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.1364, allocations: 105.9 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1364, allocations: 0 / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1364, allocations: 0 / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1364, allocations: 0 / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006476/0.1371, allocations: 350.5 kB / 494.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.1371, allocations: 4 kB / 494.8 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1372, allocations: 15.98 kB / 494.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1372, allocations: 0 / 494.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1372, allocations: 0 / 494.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.1373, allocations: 4 kB / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1373, allocations: 288 / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.1376, allocations: 191.3 kB / 495 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.1377, allocations: 93 kB / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1378, allocations: 0 / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1379, allocations: 11.98 kB / 495.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.1379, allocations: 0 / 495.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.138, allocations: 192 / 495.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.1381, allocations: 131.2 kB / 495.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1381, allocations: 0 / 495.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003464/0.1385, allocations: 23.98 kB / 495.2 MB, free: 5.887 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 (5): * Single equations (assignments): 5 * 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.001227/0.1397, allocations: 392.3 kB / 495.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.1401, allocations: 59.91 kB / 495.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1401, allocations: 0 / 495.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1403, allocations: 31.97 kB / 495.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1406, allocations: 11.95 kB / 495.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.1412, allocations: 231.3 kB / 495.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1416, allocations: 0.7004 MB / 496.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.1416, allocations: 11.44 kB / 496.6 MB, free: 4.445 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1416, allocations: 3.938 kB / 496.6 MB, free: 4.441 MB / 378.7 MB Notification: Performance of Templates: time 0.004568/0.1462, allocations: 1.399 MB / 498 MB, free: 3.043 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches