Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008721/0.0008721, allocations: 94.61 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001002, allocations: 180.1 kB / 18.91 MB, free: 4.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 243 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.191/0.191, allocations: 44.25 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1068, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002417/0.1092, allocations: 1.325 MB / 474.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.1101, allocations: 439.3 kB / 474.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.1102, allocations: 0 / 474.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.1107, allocations: 447.2 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.1111, allocations: 247.5 kB / 475.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.1115, allocations: 162.5 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.1118, allocations: 159.6 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1119, allocations: 16.19 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.112, allocations: 103.8 kB / 475.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.1123, allocations: 199.6 kB / 476 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1123, allocations: 0 / 476 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.1124, allocations: 35.98 kB / 476 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.876e-05/0.1125, allocations: 79.69 kB / 476.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.297e-05/0.1126, allocations: 120.7 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.1128, allocations: 188 kB / 476.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1128, allocations: 0 / 476.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1128, allocations: 0 / 476.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1129, allocations: 0 / 476.4 MB, free: 9.82 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006308/0.1135, allocations: 0.5911 MB / 477 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1135, allocations: 11.97 kB / 477 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.1136, allocations: 48.38 kB / 477 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1139, allocations: 292.2 kB / 477.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1139, allocations: 4.375 kB / 477.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1139, allocations: 384 / 477.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1141, allocations: 65.59 kB / 477.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1141, allocations: 0 / 477.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1141, allocations: 0 / 477.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1141, allocations: 8 kB / 477.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1142, allocations: 39.92 kB / 477.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.1147, allocations: 392.6 kB / 477.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1149, allocations: 46.5 kB / 477.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.115, allocations: 28.88 kB / 477.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.115, allocations: 0 / 477.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1151, allocations: 34.56 kB / 477.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1151, allocations: 0 / 477.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006326/0.1157, allocations: 251.9 kB / 478.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.1157, allocations: 51.41 kB / 478.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007742/0.1165, allocations: 0.8613 MB / 479.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1166, allocations: 29.7 kB / 479.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.1167, allocations: 224.1 kB / 479.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.1167, allocations: 15.72 kB / 479.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.1168, allocations: 13.72 kB / 479.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1169, allocations: 358.8 kB / 479.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.117, allocations: 23.98 kB / 479.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.1171, allocations: 23.98 kB / 479.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1172, allocations: 64.83 kB / 479.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1172, allocations: 0 / 479.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002349/0.1175, allocations: 133.1 kB / 480 MB, free: 6.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1175, allocations: 4 kB / 480 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1175, allocations: 3.984 kB / 480 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1175, allocations: 0 / 480 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.1176, allocations: 15.98 kB / 480 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1176, allocations: 0 / 480 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/0.1177, allocations: 15.94 kB / 480 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1177, allocations: 0 / 480 MB, free: 5.984 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.1179, allocations: 214.3 kB / 480.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.1179, allocations: 43.44 kB / 480.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.1183, allocations: 153 kB / 480.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1183, allocations: 0 / 480.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1183, allocations: 0 / 480.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1183, allocations: 7.938 kB / 480.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.1188, allocations: 474.7 kB / 480.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.1189, allocations: 8.062 kB / 480.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.1189, allocations: 15.92 kB / 480.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.1189, allocations: 8 kB / 480.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1189, allocations: 7.875 kB / 480.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1189, allocations: 0 / 480.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.119, allocations: 0 / 480.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.1192, allocations: 231 kB / 481.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.1193, allocations: 116.5 kB / 481.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.1193, allocations: 3.938 kB / 481.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.1194, allocations: 8.281 kB / 481.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.1195, allocations: 7.984 kB / 481.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1195, allocations: 0 / 481.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005844/0.1201, allocations: 0.6472 MB / 481.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1201, allocations: 0 / 481.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1204, allocations: 20 kB / 481.9 MB, free: 3.938 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008946/0.1213, allocations: 412 kB / 482.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1215, allocations: 55.95 kB / 482.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1215, allocations: 0 / 482.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.1216, allocations: 35.98 kB / 482.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1219, allocations: 25.05 kB / 482.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1231, allocations: 0.9092 MB / 483.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1235, allocations: 0.8224 MB / 484.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.1235, allocations: 11.44 kB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1235, allocations: 4 kB / 484.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of Templates: time 0.006925/0.1305, allocations: 3.648 MB / 487.8 MB, free: 14.12 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches