Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.001625, allocations: 189.2 kB / 16.4 MB, free: 5.625 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.032/2.032, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001106/0.001106, allocations: 102.8 kB / 270.9 MB, free: 13.37 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.3007/0.3007, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004644, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.122, allocations: 58.86 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.002459/0.1245, allocations: 1.252 MB / 491.5 MB, free: 8.066 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008337/0.1254, allocations: 291.8 kB / 491.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.1255, allocations: 0 / 491.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.1258, allocations: 103.7 kB / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.1261, allocations: 67.84 kB / 491.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1265, allocations: 79.77 kB / 492 MB, free: 7.531 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1267, allocations: 55.86 kB / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1268, allocations: 12 kB / 492.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.963e-05/0.1269, allocations: 27.91 kB / 492.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.127, allocations: 47.88 kB / 492.1 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.127, allocations: 0 / 492.1 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/0.1271, allocations: 16 kB / 492.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1273, allocations: 27.91 kB / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.1273, allocations: 33.64 kB / 492.2 MB, free: 7.309 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1275, allocations: 75.83 kB / 492.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1275, allocations: 0 / 492.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1275, allocations: 0 / 492.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1275, allocations: 4 kB / 492.3 MB, free: 7.23 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.0005818/0.1281, allocations: 403 kB / 492.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1282, allocations: 12.02 kB / 492.7 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.1283, allocations: 19.86 kB / 492.7 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.1285, allocations: 190.9 kB / 492.9 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1285, allocations: 4 kB / 492.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.1286, allocations: 0 / 492.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1287, allocations: 49.69 kB / 493 MB, free: 6.473 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1288, allocations: 0 / 493 MB, free: 6.473 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1288, allocations: 4 kB / 493 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1288, allocations: 0 / 493 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.129, allocations: 35.84 kB / 493 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.1295, allocations: 300.8 kB / 493.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.1298, allocations: 46.56 kB / 493.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1298, allocations: 0 / 493.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1299, allocations: 30.56 kB / 493.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.1299, allocations: 0 / 493.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008676/0.1307, allocations: 181.2 kB / 493.5 MB, free: 5.812 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1308, allocations: 51.41 kB / 493.6 MB, free: 5.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.1311, allocations: 242.6 kB / 493.8 MB, free: 5.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/0.1312, allocations: 29.7 kB / 493.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.1313, allocations: 174.4 kB / 494 MB, free: 5.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.1314, allocations: 19.73 kB / 494.1 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.1314, allocations: 0 / 494.1 MB, free: 5.273 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1315, allocations: 314.8 kB / 494.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1317, allocations: 23.98 kB / 494.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1318, allocations: 27.98 kB / 494.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1319, allocations: 27.97 kB / 494.4 MB, free: 4.879 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.132, allocations: 0 / 494.4 MB, free: 4.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003341/0.1323, allocations: 85.67 kB / 494.5 MB, free: 4.789 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1323, allocations: 8 kB / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1324, allocations: 0 / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1324, allocations: 0.5312 kB / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1325, allocations: 19.94 kB / 494.5 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1325, allocations: 4 kB / 494.6 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.806e-05/0.1326, allocations: 7.938 kB / 494.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1326, allocations: 7.984 kB / 494.6 MB, free: 4.742 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.0001287/0.1328, allocations: 130.9 kB / 494.7 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.1328, allocations: 15.88 kB / 494.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.1332, allocations: 110.6 kB / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1333, allocations: 0 / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1333, allocations: 3.953 kB / 494.8 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1333, allocations: 4 kB / 494.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006707/0.134, allocations: 378.5 kB / 495.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.134, allocations: 0 / 495.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.1341, allocations: 12 kB / 495.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1341, allocations: 4 kB / 495.2 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1342, allocations: 7.938 kB / 495.2 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1342, allocations: 0 / 495.2 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1342, allocations: 0 / 495.2 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.1346, allocations: 195.4 kB / 495.4 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.1346, allocations: 92.91 kB / 495.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1347, allocations: 0 / 495.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1348, allocations: 11.89 kB / 495.5 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.1349, allocations: 12.11 kB / 495.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1349, allocations: 8 kB / 495.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002312/0.1351, allocations: 183.2 kB / 495.7 MB, free: 3.496 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1351, allocations: 0 / 495.7 MB, free: 3.496 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003783/0.1355, allocations: 16 kB / 495.7 MB, free: 3.48 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.001174/0.1367, allocations: 400 kB / 496.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.1371, allocations: 51.97 kB / 496.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1372, allocations: 0 / 496.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.1373, allocations: 43.91 kB / 496.2 MB, free: 3.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1377, allocations: 20.11 kB / 496.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.1384, allocations: 303.4 kB / 496.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1387, allocations: 0.7121 MB / 497.2 MB, free: 1.953 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.1388, allocations: 11.44 kB / 497.3 MB, free: 1.941 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1388, allocations: 0 / 497.3 MB, free: 1.941 MB / 330.7 MB Notification: Performance of Templates: time 0.005187/0.144, allocations: 1.594 MB / 498.8 MB, free: 356 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches