Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.00186/0.00186, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.393/1.393, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2097/0.2097, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 65.05 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.09976, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.00358/0.1034, allocations: 1.943 MB / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.1049, allocations: 0.865 MB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1051, allocations: 4 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.1056, allocations: 247.2 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.106, allocations: 199.3 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.1071, allocations: 490.3 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.1075, allocations: 275.4 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.1077, allocations: 76.48 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.1078, allocations: 131.5 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1081, allocations: 191.3 kB / 474.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.1081, allocations: 8 kB / 474.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.1083, allocations: 99.95 kB / 474.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1084, allocations: 83.73 kB / 474.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.719e-05/0.1085, allocations: 115 kB / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.1089, allocations: 299.2 kB / 474.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1089, allocations: 4 kB / 474.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1089, allocations: 0 / 474.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.1089, allocations: 0 / 474.9 MB, free: 9.375 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007045/0.1096, allocations: 0.6147 MB / 475.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1097, allocations: 8.031 kB / 475.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.1098, allocations: 40.47 kB / 475.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.1101, allocations: 310.2 kB / 475.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1101, allocations: 12.38 kB / 475.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.1102, allocations: 4.375 kB / 475.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.1104, allocations: 109.8 kB / 476 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1104, allocations: 0 / 476 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1104, allocations: 4 kB / 476 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1104, allocations: 4 kB / 476 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.1106, allocations: 79.83 kB / 476.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.1112, allocations: 476.3 kB / 476.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.1114, allocations: 86.55 kB / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/0.1115, allocations: 36.78 kB / 476.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.1115, allocations: 4 kB / 476.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1116, allocations: 38.55 kB / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.1116, allocations: 0 / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009236/0.1125, allocations: 372.1 kB / 477.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1126, allocations: 63.34 kB / 477.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.1131, allocations: 0.5171 MB / 477.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1131, allocations: 25.7 kB / 477.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1133, allocations: 196.4 kB / 477.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.1133, allocations: 59.16 kB / 477.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.1134, allocations: 29.72 kB / 478 MB, free: 6.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1135, allocations: 346.8 kB / 478.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1137, allocations: 55.97 kB / 478.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1138, allocations: 47.97 kB / 478.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.114, allocations: 131.2 kB / 478.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.114, allocations: 3.938 kB / 478.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003371/0.1144, allocations: 189.2 kB / 478.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1144, allocations: 9.562 kB / 478.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1144, allocations: 0 / 478.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1144, allocations: 3.938 kB / 478.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.1146, allocations: 31.98 kB / 478.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1146, allocations: 3.938 kB / 478.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.1147, allocations: 15.92 kB / 478.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1147, allocations: 8 kB / 478.8 MB, free: 5.273 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 (17): * Single equations (assignments): 17 * 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.0001472/0.1148, allocations: 173.8 kB / 479 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.1149, allocations: 35.53 kB / 479 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.1154, allocations: 229.3 kB / 479.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1154, allocations: 8 kB / 479.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1154, allocations: 3.984 kB / 479.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1154, allocations: 3.984 kB / 479.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007481/0.1162, allocations: 0.61 MB / 479.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1162, allocations: 0 / 479.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.1163, allocations: 39.97 kB / 479.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1163, allocations: 0 / 479.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1163, allocations: 8 kB / 479.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1163, allocations: 4 kB / 479.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1163, allocations: 3.938 kB / 479.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.1167, allocations: 287 kB / 480.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1168, allocations: 104.6 kB / 480.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.1168, allocations: 11.98 kB / 480.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.1169, allocations: 4 kB / 480.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.117, allocations: 15.92 kB / 480.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.117, allocations: 8 kB / 480.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003772/0.1174, allocations: 391.1 kB / 480.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1174, allocations: 0 / 480.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.1177, allocations: 40 kB / 480.7 MB, free: 3.211 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 (17): * Single equations (assignments): 17 * 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.001615/0.1193, allocations: 0.6992 MB / 481.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.1197, allocations: 131.9 kB / 481.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1197, allocations: 0 / 481.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.1198, allocations: 82.47 kB / 481.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.1204, allocations: 77.17 kB / 481.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009985/0.1214, allocations: 0.6686 MB / 482.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.1218, allocations: 0.7983 MB / 483.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.1219, allocations: 31.42 kB / 483.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1219, allocations: 0 / 483.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of Templates: time 0.006924/0.1288, allocations: 4.257 MB / 487.5 MB, free: 12.74 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches