Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, 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.001213/0.001213, 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.381/1.381, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.17 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.84 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1041, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003392/0.1075, allocations: 1.954 MB / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.109, allocations: 0.8533 MB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1092, allocations: 4 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.1096, allocations: 243.3 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.11, allocations: 203.2 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.111, allocations: 489.7 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.1114, allocations: 275.3 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1115, allocations: 68.52 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1117, allocations: 131.5 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.1119, allocations: 195.3 kB / 474.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.1119, allocations: 16 kB / 474.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1121, allocations: 67.98 kB / 474.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1122, allocations: 87.73 kB / 474.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.1123, allocations: 111 kB / 474.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.1126, allocations: 279.2 kB / 474.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1126, allocations: 0 / 474.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1126, allocations: 0 / 474.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1127, allocations: 0 / 474.9 MB, free: 9.434 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.0006727/0.1133, allocations: 0.6147 MB / 475.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1134, allocations: 12.03 kB / 475.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.1135, allocations: 36.47 kB / 475.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.1138, allocations: 306.2 kB / 475.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1138, allocations: 8.359 kB / 475.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.1138, allocations: 12.38 kB / 475.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.1141, allocations: 101.8 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1141, allocations: 11.97 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1141, allocations: 4 kB / 476 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1141, allocations: 4 kB / 476 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1143, allocations: 75.83 kB / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.1149, allocations: 484.2 kB / 476.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1151, allocations: 86.55 kB / 476.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8e-05/0.1152, allocations: 36.84 kB / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.1152, allocations: 7.938 kB / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1152, allocations: 30.56 kB / 476.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.1153, allocations: 0 / 476.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009042/0.1162, allocations: 379.1 kB / 477 MB, free: 7.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.1162, allocations: 55.41 kB / 477.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.1167, allocations: 0.5249 MB / 477.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1168, allocations: 25.7 kB / 477.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1169, allocations: 192.4 kB / 477.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.117, allocations: 55.16 kB / 477.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.117, allocations: 29.72 kB / 477.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1172, allocations: 350.8 kB / 478.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1173, allocations: 51.97 kB / 478.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1174, allocations: 55.97 kB / 478.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.1176, allocations: 124.7 kB / 478.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1177, allocations: 3.938 kB / 478.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003533/0.118, allocations: 186.7 kB / 478.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.118, allocations: 4 kB / 478.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1181, allocations: 4 kB / 478.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1181, allocations: 4 kB / 478.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1182, allocations: 35.98 kB / 478.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1182, allocations: 0 / 478.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.1183, allocations: 11.92 kB / 478.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1183, allocations: 15.88 kB / 478.7 MB, free: 5.328 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.0001505/0.1185, allocations: 169.8 kB / 478.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.1186, allocations: 35.53 kB / 478.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/0.119, allocations: 236 kB / 479.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.119, allocations: 0 / 479.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.119, allocations: 3.938 kB / 479.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.119, allocations: 3.984 kB / 479.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007525/0.1198, allocations: 0.6114 MB / 479.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1198, allocations: 0 / 479.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1199, allocations: 31.97 kB / 479.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1199, allocations: 0 / 479.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.12, allocations: 4 kB / 479.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.12, allocations: 0 / 479.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.12, allocations: 7.875 kB / 479.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.1203, allocations: 295 kB / 480.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.1204, allocations: 104.6 kB / 480.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.1205, allocations: 8 kB / 480.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.1206, allocations: 3.984 kB / 480.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.1206, allocations: 19.92 kB / 480.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1206, allocations: 4 kB / 480.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003809/0.121, allocations: 387.1 kB / 480.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.121, allocations: 4 kB / 480.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.1213, allocations: 51.98 kB / 480.7 MB, free: 3.266 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.0016/0.1229, allocations: 0.6927 MB / 481.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003295/0.1233, allocations: 139.9 kB / 481.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1233, allocations: 0 / 481.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1235, allocations: 78.62 kB / 481.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.124, allocations: 85.72 kB / 481.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009572/0.125, allocations: 0.6686 MB / 482.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.1254, allocations: 0.7866 MB / 483.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.1254, allocations: 39.42 kB / 483.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1255, allocations: 3.938 kB / 483.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of Templates: time 0.006989/0.1324, allocations: 4.258 MB / 487.4 MB, free: 12.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches