Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002312/0.002312, 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.078/2.078, 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.001145/0.001145, allocations: 90.88 kB / 270.9 MB, free: 13.38 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.2861/0.2861, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004403, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1167, allocations: 58.86 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.002532/0.1192, allocations: 1.248 MB / 491.5 MB, free: 8.066 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008/0.1201, allocations: 291.9 kB / 491.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.1202, allocations: 0 / 491.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.1205, allocations: 71.77 kB / 491.8 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.1207, allocations: 51.86 kB / 491.9 MB, free: 7.656 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.1211, allocations: 83.78 kB / 492 MB, free: 7.574 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1213, allocations: 51.86 kB / 492 MB, free: 7.523 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1214, allocations: 8 kB / 492 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.781e-05/0.1215, allocations: 27.91 kB / 492 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1217, allocations: 39.89 kB / 492.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1217, allocations: 0 / 492.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.1218, allocations: 16 kB / 492.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.1218, allocations: 19.91 kB / 492.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.1219, allocations: 37.64 kB / 492.1 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.1221, allocations: 67.84 kB / 492.2 MB, free: 7.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1221, allocations: 0 / 492.2 MB, free: 7.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1221, allocations: 0 / 492.2 MB, free: 7.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1221, allocations: 3.938 kB / 492.2 MB, free: 7.301 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.0005929/0.1227, allocations: 391.3 kB / 492.6 MB, free: 6.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1228, allocations: 12.02 kB / 492.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.1228, allocations: 11.86 kB / 492.6 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1231, allocations: 198.8 kB / 492.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1231, allocations: 0 / 492.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1232, allocations: 0 / 492.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1234, allocations: 53.69 kB / 492.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1234, allocations: 0 / 492.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1234, allocations: 0 / 492.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1234, allocations: 4 kB / 492.9 MB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.1236, allocations: 27.97 kB / 492.9 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.1241, allocations: 288.8 kB / 493.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.1244, allocations: 62.47 kB / 493.2 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1244, allocations: 4 kB / 493.2 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1245, allocations: 30.56 kB / 493.3 MB, free: 6.078 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.854e-06/0.1245, allocations: 0 / 493.3 MB, free: 6.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008806/0.1254, allocations: 177.2 kB / 493.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.1255, allocations: 51.41 kB / 493.5 MB, free: 5.836 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.1258, allocations: 206.1 kB / 493.7 MB, free: 5.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1258, allocations: 29.7 kB / 493.7 MB, free: 5.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.1259, allocations: 162.5 kB / 493.9 MB, free: 5.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1259, allocations: 19.81 kB / 493.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.126, allocations: 0 / 493.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1261, allocations: 314.8 kB / 494.2 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1262, allocations: 23.98 kB / 494.2 MB, free: 5.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1264, allocations: 23.98 kB / 494.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1266, allocations: 31.92 kB / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1266, allocations: 0 / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003411/0.1269, allocations: 89.66 kB / 494.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.127, allocations: 4 kB / 494.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.127, allocations: 0 / 494.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.127, allocations: 4 kB / 494.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1271, allocations: 15.95 kB / 494.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.1272, allocations: 3.984 kB / 494.4 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.941e-05/0.1273, allocations: 8 kB / 494.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.1273, allocations: 4 kB / 494.4 MB, free: 4.883 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.0001285/0.1274, allocations: 125.8 kB / 494.5 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.1275, allocations: 7.906 kB / 494.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.1279, allocations: 110.2 kB / 494.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1279, allocations: 64 / 494.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.1279, allocations: 11.94 kB / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1279, allocations: 3.938 kB / 494.7 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.1286, allocations: 374.4 kB / 495 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1286, allocations: 0 / 495 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1288, allocations: 12 kB / 495.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1288, allocations: 0 / 495.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1288, allocations: 7.938 kB / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1288, allocations: 0 / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1288, allocations: 8 kB / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.1292, allocations: 179.4 kB / 495.2 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.1293, allocations: 93 kB / 495.3 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.1293, allocations: 0 / 495.3 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1295, allocations: 11.95 kB / 495.3 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.1295, allocations: 11.92 kB / 495.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1295, allocations: 0 / 495.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001959/0.1297, allocations: 159.2 kB / 495.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1298, allocations: 0 / 495.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.1301, allocations: 20 kB / 495.5 MB, free: 3.668 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.001211/0.1313, allocations: 405.6 kB / 495.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004039/0.1318, allocations: 59.95 kB / 496 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1318, allocations: 0 / 496 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.132, allocations: 31.92 kB / 496 MB, free: 3.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.1323, allocations: 15.98 kB / 496 MB, free: 3.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.133, allocations: 262.9 kB / 496.3 MB, free: 2.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.1333, allocations: 0.7043 MB / 497 MB, free: 2.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.1334, allocations: 15.44 kB / 497 MB, free: 2.172 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1334, allocations: 0 / 497 MB, free: 2.172 MB / 330.7 MB Notification: Performance of Templates: time 0.004701/0.1381, allocations: 1.518 MB / 498.5 MB, free: 0.6602 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches