Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002329/0.002334, allocations: 189.5 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.186/2.186, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001201/0.001201, allocations: 106.8 kB / 270.9 MB, free: 13.27 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.289/0.289, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.000468, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.002525/0.1223, allocations: 1.248 MB / 491.5 MB, free: 8.086 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008029/0.1232, allocations: 283.9 kB / 491.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.1233, allocations: 4 kB / 491.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.1236, allocations: 75.77 kB / 491.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1238, allocations: 51.88 kB / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1242, allocations: 83.77 kB / 492 MB, free: 7.594 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1244, allocations: 47.88 kB / 492 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1245, allocations: 7.984 kB / 492 MB, free: 7.539 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.1246, allocations: 31.91 kB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1247, allocations: 39.89 kB / 492.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1248, allocations: 0 / 492.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.1249, allocations: 19.94 kB / 492.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.1249, allocations: 19.92 kB / 492.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.125, allocations: 33.64 kB / 492.2 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1252, allocations: 67.84 kB / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1252, allocations: 0 / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1252, allocations: 0 / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1252, allocations: 0 / 492.2 MB, free: 7.324 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.0005938/0.1258, allocations: 387.3 kB / 492.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.1259, allocations: 12.02 kB / 492.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.1259, allocations: 15.86 kB / 492.6 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1262, allocations: 194.8 kB / 492.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1262, allocations: 0 / 492.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1263, allocations: 4 kB / 492.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1265, allocations: 49.69 kB / 492.9 MB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1265, allocations: 4 kB / 492.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1265, allocations: 0 / 492.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.1265, allocations: 3.984 kB / 492.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.1267, allocations: 27.98 kB / 492.9 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.1272, allocations: 292.8 kB / 493.2 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.1275, allocations: 50.5 kB / 493.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.1276, allocations: 0 / 493.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1276, allocations: 30.56 kB / 493.3 MB, free: 6.113 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.1276, allocations: 0 / 493.3 MB, free: 6.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008694/0.1285, allocations: 177.2 kB / 493.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.1286, allocations: 55.41 kB / 493.5 MB, free: 5.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.1289, allocations: 206.1 kB / 493.7 MB, free: 5.656 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1289, allocations: 29.7 kB / 493.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.129, allocations: 166.5 kB / 493.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.1291, allocations: 15.8 kB / 493.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.1291, allocations: 4 kB / 493.9 MB, free: 5.438 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1292, allocations: 310.8 kB / 494.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1294, allocations: 23.98 kB / 494.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1295, allocations: 32.05 kB / 494.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1297, allocations: 31.92 kB / 494.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1297, allocations: 0 / 494.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003343/0.13, allocations: 89.66 kB / 494.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1301, allocations: 8 kB / 494.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1301, allocations: 0 / 494.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1301, allocations: 0 / 494.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1302, allocations: 19.94 kB / 494.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1303, allocations: 3.984 kB / 494.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.1303, allocations: 4 kB / 494.4 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.1304, allocations: 7.938 kB / 494.4 MB, free: 4.902 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.0001289/0.1305, allocations: 125.8 kB / 494.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.1306, allocations: 7.906 kB / 494.6 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.131, allocations: 113.9 kB / 494.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.131, allocations: 288 / 494.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.131, allocations: 3.953 kB / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.131, allocations: 11.98 kB / 494.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006827/0.1317, allocations: 366.4 kB / 495 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1317, allocations: 4 kB / 495 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1318, allocations: 11.98 kB / 495.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.1319, allocations: 4 kB / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1319, allocations: 7.953 kB / 495.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1319, allocations: 320 / 495.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1319, allocations: 0 / 495.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1323, allocations: 195.4 kB / 495.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.1324, allocations: 85.02 kB / 495.3 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.1324, allocations: 4 kB / 495.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.1325, allocations: 11.94 kB / 495.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.1326, allocations: 3.938 kB / 495.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1326, allocations: 4 kB / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.1328, allocations: 159.2 kB / 495.5 MB, free: 3.703 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1328, allocations: 0 / 495.5 MB, free: 3.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.1332, allocations: 16 kB / 495.5 MB, free: 3.688 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.001205/0.1344, allocations: 405.3 kB / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003889/0.1348, allocations: 63.95 kB / 496 MB, free: 3.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1348, allocations: 0 / 496 MB, free: 3.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.135, allocations: 35.92 kB / 496 MB, free: 3.238 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1353, allocations: 11.98 kB / 496 MB, free: 3.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.136, allocations: 258.9 kB / 496.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.1364, allocations: 0.7122 MB / 497 MB, free: 2.199 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.1365, allocations: 15.42 kB / 497 MB, free: 2.184 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1365, allocations: 0 / 497 MB, free: 2.184 MB / 330.7 MB Notification: Performance of Templates: time 0.004692/0.1412, allocations: 1.503 MB / 498.5 MB, free: 0.6836 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches