Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.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.CombiTable1D.Test21,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.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.CombiTable1D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001471/0.001471, allocations: 188.2 kB / 16.4 MB, free: 5.621 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.101/2.101, allocations: 205.4 MB / 222.5 MB, free: 13.76 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: 90.86 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3005/0.3005, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004932, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1264, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.002697/0.1292, allocations: 1.245 MB / 491.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1311, allocations: 0.8791 MB / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.579e-05/0.1313, allocations: 3.938 kB / 492.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.1316, allocations: 19.91 kB / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.1318, allocations: 27.91 kB / 492.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.1323, allocations: 87.75 kB / 492.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1324, allocations: 35.91 kB / 492.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1326, allocations: 11.98 kB / 492.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.1326, allocations: 15.94 kB / 492.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1328, allocations: 23.91 kB / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.1329, allocations: 0 / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.133, allocations: 35.86 kB / 492.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.1331, allocations: 8 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.1331, allocations: 33.64 kB / 492.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.1333, allocations: 71.88 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1334, allocations: 0 / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1334, allocations: 3.938 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1334, allocations: 4 kB / 492.7 MB, free: 6.812 MB / 330.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.0005994/0.134, allocations: 367.5 kB / 493.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1341, allocations: 12.02 kB / 493.1 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.1341, allocations: 11.86 kB / 493.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.1344, allocations: 186.9 kB / 493.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.1344, allocations: 0 / 493.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.1344, allocations: 0 / 493.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.1347, allocations: 71.34 kB / 493.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1347, allocations: 0 / 493.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.1347, allocations: 3.984 kB / 493.4 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-06/0.1348, allocations: 0 / 493.4 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.1349, allocations: 27.98 kB / 493.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.1355, allocations: 280.9 kB / 493.7 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.1358, allocations: 50.48 kB / 493.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1358, allocations: 0 / 493.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.1358, allocations: 34.56 kB / 493.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.1359, allocations: 0 / 493.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000908/0.1368, allocations: 165.4 kB / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.1369, allocations: 81.11 kB / 494 MB, free: 5.355 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1371, allocations: 133.7 kB / 494.1 MB, free: 5.215 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1371, allocations: 29.7 kB / 494.1 MB, free: 5.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.1372, allocations: 166.5 kB / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1373, allocations: 11.75 kB / 494.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.1373, allocations: 4 kB / 494.3 MB, free: 5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1374, allocations: 314.8 kB / 494.6 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1376, allocations: 27.98 kB / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.1377, allocations: 37.69 kB / 494.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1379, allocations: 23.98 kB / 494.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1379, allocations: 0 / 494.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003415/0.1382, allocations: 93.89 kB / 494.8 MB, free: 4.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1383, allocations: 11.38 kB / 494.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1383, allocations: 4 kB / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1383, allocations: 3.984 kB / 494.8 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1385, allocations: 15.95 kB / 494.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1385, allocations: 0 / 494.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.1386, allocations: 15.98 kB / 494.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1386, allocations: 0 / 494.9 MB, free: 4.445 MB / 330.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.0001224/0.1387, allocations: 113.8 kB / 495 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.1388, allocations: 7.906 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.1392, allocations: 113.5 kB / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1392, allocations: 0 / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1393, allocations: 7.953 kB / 495.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1393, allocations: 0 / 495.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.14, allocations: 350.6 kB / 495.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.14, allocations: 0 / 495.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.1402, allocations: 27.92 kB / 495.5 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1402, allocations: 0 / 495.5 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.1402, allocations: 7.953 kB / 495.5 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1402, allocations: 0 / 495.5 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1402, allocations: 0 / 495.5 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.1406, allocations: 187.7 kB / 495.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.1407, allocations: 89.02 kB / 495.7 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.1408, allocations: 4.172 kB / 495.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.1409, allocations: 15.94 kB / 495.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.1409, allocations: 4 kB / 495.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.141, allocations: 0 / 495.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1411, allocations: 111.7 kB / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1411, allocations: 4 kB / 495.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.1415, allocations: 27.98 kB / 495.9 MB, free: 3.289 MB / 330.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.00133/0.1428, allocations: 432.8 kB / 496.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.1433, allocations: 59.97 kB / 496.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1433, allocations: 0 / 496.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.1434, allocations: 31.97 kB / 496.4 MB, free: 2.816 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1438, allocations: 19.88 kB / 496.4 MB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.1444, allocations: 210.4 kB / 496.6 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.1448, allocations: 0.6887 MB / 497.3 MB, free: 1.844 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.1449, allocations: 19.42 kB / 497.4 MB, free: 1.824 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1449, allocations: 0 / 497.4 MB, free: 1.824 MB / 330.7 MB Notification: Performance of Templates: time 0.005121/0.15, allocations: 1.598 MB / 499 MB, free: 232 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches