Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001019/0.001019, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.394/1.394, allocations: 222.9 MB / 243 MB, free: 15.07 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.2437/0.2437, allocations: 44.16 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 67.92 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1055, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002638/0.1082, allocations: 1.603 MB / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006669/0.1089, allocations: 427.1 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.1089, allocations: 0 / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.1094, allocations: 451.2 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.1097, allocations: 251.4 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.11, allocations: 135.2 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1102, allocations: 155.7 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.1103, allocations: 20.17 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1104, allocations: 103.8 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.1106, allocations: 211.5 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1106, allocations: 4 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.342e-05/0.1107, allocations: 32 kB / 474.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.1108, allocations: 83.69 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.848e-05/0.1109, allocations: 103 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.1111, allocations: 243 kB / 474.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1111, allocations: 3.984 kB / 474.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1111, allocations: 4 kB / 474.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1111, allocations: 0 / 474.5 MB, free: 9.828 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.0005907/0.1117, allocations: 0.6257 MB / 475.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1118, allocations: 12.03 kB / 475.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.1118, allocations: 44.38 kB / 475.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1121, allocations: 288.2 kB / 475.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1121, allocations: 12.38 kB / 475.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.1121, allocations: 4.375 kB / 475.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1122, allocations: 53.62 kB / 475.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1123, allocations: 0 / 475.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.1123, allocations: 0 / 475.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1123, allocations: 4 kB / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.1124, allocations: 27.91 kB / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.1128, allocations: 388.6 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.113, allocations: 42.56 kB / 476 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.113, allocations: 12.86 kB / 476 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.1131, allocations: 7.938 kB / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1131, allocations: 38.62 kB / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1131, allocations: 3.938 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005096/0.1136, allocations: 223.9 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.1136, allocations: 51.41 kB / 476.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006619/0.1143, allocations: 0.8613 MB / 477.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1143, allocations: 25.7 kB / 477.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.1145, allocations: 216.1 kB / 477.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1145, allocations: 19.7 kB / 477.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.1145, allocations: 21.72 kB / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1147, allocations: 362.8 kB / 477.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.1147, allocations: 15.98 kB / 477.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.1148, allocations: 19.98 kB / 477.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.883e-05/0.1149, allocations: 40.84 kB / 477.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1149, allocations: 4 kB / 477.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001705/0.1151, allocations: 113.1 kB / 478 MB, free: 6.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1151, allocations: 11.92 kB / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1151, allocations: 0 / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1151, allocations: 4 kB / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.212e-05/0.1152, allocations: 8 kB / 478 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1152, allocations: 0 / 478 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.1152, allocations: 11.92 kB / 478 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1152, allocations: 4 kB / 478 MB, free: 6.059 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.0001498/0.1154, allocations: 209.8 kB / 478.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.1155, allocations: 43.44 kB / 478.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.1157, allocations: 137.2 kB / 478.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1157, allocations: 64 / 478.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.1157, allocations: 8 kB / 478.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1157, allocations: 3.938 kB / 478.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.1162, allocations: 450.5 kB / 478.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1162, allocations: 0 / 478.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.1162, allocations: 15.98 kB / 478.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1162, allocations: 0 / 478.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1163, allocations: 7.875 kB / 478.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1163, allocations: 0 / 478.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1163, allocations: 0 / 478.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.1165, allocations: 211 kB / 479.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.1166, allocations: 108.6 kB / 479.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1166, allocations: 7.938 kB / 479.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1167, allocations: 0 / 479.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1167, allocations: 11.98 kB / 479.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1167, allocations: 0 / 479.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004968/0.1172, allocations: 0.6472 MB / 479.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1172, allocations: 0 / 479.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.1175, allocations: 27.94 kB / 479.9 MB, free: 4.086 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.0008331/0.1183, allocations: 413.6 kB / 480.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.1185, allocations: 51.91 kB / 480.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1185, allocations: 0 / 480.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.085e-05/0.1186, allocations: 23.98 kB / 480.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1189, allocations: 25.89 kB / 480.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008419/0.1197, allocations: 0.7872 MB / 481.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.1201, allocations: 0.8221 MB / 482 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.487e-05/0.1201, allocations: 7.984 kB / 482 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.1202, allocations: 11.44 kB / 482 MB, free: 2.055 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1202, allocations: 3.938 kB / 482 MB, free: 2.051 MB / 350.1 MB Notification: Performance of Templates: time 0.3135/0.4337, allocations: 1.445 MB / 483.5 MB, free: 0.6133 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches