Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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 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 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 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.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001295/0.001295, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2141/0.2141, allocations: 43.52 MB / 314.6 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 67 kB / 383.4 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1068, allocations: 57.8 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003205/0.1101, allocations: 1.597 MB / 442.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.1108, allocations: 339.4 kB / 443.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1109, allocations: 4 kB / 443.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.1114, allocations: 447.2 kB / 443.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.1118, allocations: 255.5 kB / 443.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.1122, allocations: 111.5 kB / 443.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1124, allocations: 155.7 kB / 444.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1126, allocations: 20.38 kB / 444.1 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1127, allocations: 107.7 kB / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.1129, allocations: 219.6 kB / 444.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.113, allocations: 0 / 444.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1131, allocations: 35.98 kB / 444.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.1132, allocations: 79.69 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.1133, allocations: 103 kB / 444.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1135, allocations: 251 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1135, allocations: 0 / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1136, allocations: 0 / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.1136, allocations: 0 / 444.9 MB, free: 3.219 MB / 318.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.0006882/0.1143, allocations: 0.6414 MB / 445.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1143, allocations: 11.89 kB / 445.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.1144, allocations: 40.38 kB / 445.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1146, allocations: 296.2 kB / 445.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1146, allocations: 384 / 445.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.1147, allocations: 8.375 kB / 445.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1148, allocations: 57.55 kB / 445.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1148, allocations: 4 kB / 445.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1149, allocations: 8 kB / 445.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1149, allocations: 0 / 445.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.115, allocations: 31.97 kB / 446 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.1154, allocations: 380.7 kB / 446.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1156, allocations: 50.5 kB / 446.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.413e-05/0.1156, allocations: 24.94 kB / 446.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.1157, allocations: 11.91 kB / 446.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.1157, allocations: 34.56 kB / 446.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.1157, allocations: 0 / 446.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000794/0.1165, allocations: 283.9 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.1166, allocations: 51.41 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.1172, allocations: 0.8573 MB / 447.6 MB, free: 264 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.1172, allocations: 25.7 kB / 447.7 MB, free: 232 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1173, allocations: 212.1 kB / 447.9 MB, free: 16 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.1174, allocations: 27.61 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.1174, allocations: 21.66 kB / 447.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1176, allocations: 358.8 kB / 448.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.1177, allocations: 39.91 kB / 448.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1179, allocations: 35.97 kB / 448.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1181, allocations: 68.81 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1181, allocations: 0 / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000328/0.1184, allocations: 149.1 kB / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1185, allocations: 4 kB / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1185, allocations: 0 / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1185, allocations: 4 kB / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1186, allocations: 19.97 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1186, allocations: 4 kB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.581e-05/0.1187, allocations: 11.94 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1187, allocations: 3.984 kB / 448.6 MB, free: 15.26 MB / 334.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 (7): * Single equations (assignments): 7 * 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.0001865/0.1189, allocations: 213.7 kB / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.119, allocations: 43.44 kB / 448.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.1194, allocations: 169.4 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1194, allocations: 0 / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/0.1194, allocations: 3.984 kB / 449 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1194, allocations: 3.938 kB / 449 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006537/0.1201, allocations: 494.8 kB / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1201, allocations: 0 / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.741e-05/0.1202, allocations: 19.98 kB / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1202, allocations: 4 kB / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1202, allocations: 3.938 kB / 449.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1203, allocations: 80 / 449.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1203, allocations: 3.984 kB / 449.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.1206, allocations: 238.9 kB / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.1207, allocations: 108.6 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.1207, allocations: 7.938 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1208, allocations: 8 kB / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.1209, allocations: 11.92 kB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1209, allocations: 0 / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006042/0.1215, allocations: 0.6511 MB / 450.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1215, allocations: 0 / 450.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1218, allocations: 23.98 kB / 450.6 MB, free: 13.16 MB / 334.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 (7): * Single equations (assignments): 7 * 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.001003/0.1228, allocations: 399.6 kB / 451 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.1231, allocations: 75.92 kB / 451 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.1232, allocations: 0 / 451 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.1233, allocations: 47.91 kB / 451.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.1238, allocations: 29.23 kB / 451.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1251, allocations: 0.8361 MB / 452 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.1255, allocations: 0.8182 MB / 452.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.1256, allocations: 23.36 kB / 452.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1256, allocations: 4 kB / 452.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Templates: time 0.00808/0.1337, allocations: 3.766 MB / 456.6 MB, free: 7.195 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches