Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001308, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001318/0.001318, allocations: 187 kB / 19.34 MB, free: 3.641 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.495/1.495, allocations: 222.9 MB / 243 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.2466/0.2466, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.00167, allocations: 67.55 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.113, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002439/0.1155, allocations: 1.634 MB / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006681/0.1162, allocations: 455 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.819e-05/0.1162, allocations: 4 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.1164, allocations: 51.81 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.1165, allocations: 59.75 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.1169, allocations: 179.3 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.117, allocations: 79.81 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.086e-05/0.1171, allocations: 20 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.1171, allocations: 39.83 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.1172, allocations: 43.84 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.1172, allocations: 4 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.101e-05/0.1173, allocations: 51.91 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.1174, allocations: 31.91 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1174, allocations: 23.81 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1176, allocations: 107.6 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1176, allocations: 0 / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1176, allocations: 8 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1176, allocations: 0 / 473.5 MB, free: 10.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003598/0.118, allocations: 411 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.457e-05/0.118, allocations: 8.031 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.118, allocations: 12.84 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1182, allocations: 196.7 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1182, allocations: 4.375 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.1182, allocations: 7.938 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1184, allocations: 73.55 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1184, allocations: 0 / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.1184, allocations: 0 / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1184, allocations: 11.98 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.1185, allocations: 43.95 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.1189, allocations: 308.7 kB / 474.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1191, allocations: 70.58 kB / 474.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.1192, allocations: 28.95 kB / 474.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.1192, allocations: 0 / 474.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.1192, allocations: 34.56 kB / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.1192, allocations: 0 / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0012/0.1204, allocations: 416.8 kB / 475.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.1204, allocations: 55.34 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1206, allocations: 178.1 kB / 475.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1206, allocations: 25.7 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.1207, allocations: 116 kB / 475.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.1207, allocations: 39.53 kB / 475.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.1207, allocations: 21.72 kB / 475.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.1208, allocations: 322.8 kB / 475.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.1209, allocations: 55.95 kB / 475.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1211, allocations: 56 kB / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.1213, allocations: 132.7 kB / 476.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1213, allocations: 0 / 476.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002805/0.1216, allocations: 161.4 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1216, allocations: 8 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1216, allocations: 3.938 kB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.567e-06/0.1216, allocations: 0 / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1217, allocations: 31.97 kB / 476.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.1217, allocations: 0 / 476.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.1218, allocations: 8.562 kB / 476.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1218, allocations: 0 / 476.3 MB, free: 7.867 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 (11): * Single equations (assignments): 11 * 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 7.924e-05/0.1219, allocations: 129.8 kB / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.1219, allocations: 7.906 kB / 476.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/0.1223, allocations: 206.1 kB / 476.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1223, allocations: 0 / 476.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1223, allocations: 4 kB / 476.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1223, allocations: 0 / 476.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.1229, allocations: 0.4921 MB / 477.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1229, allocations: 4 kB / 477.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.804e-05/0.123, allocations: 27.98 kB / 477.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.123, allocations: 0 / 477.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.123, allocations: 4 kB / 477.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.123, allocations: 0 / 477.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.123, allocations: 0 / 477.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.1233, allocations: 276.9 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.1234, allocations: 85.02 kB / 477.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1234, allocations: 4 kB / 477.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.1235, allocations: 11.98 kB / 477.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.1235, allocations: 7.984 kB / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1235, allocations: 12 kB / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.284e-05/0.1236, allocations: 135.2 kB / 477.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1236, allocations: 0 / 477.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1239, allocations: 31.91 kB / 477.7 MB, free: 6.328 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008483/0.1247, allocations: 477.1 kB / 478.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.125, allocations: 127.8 kB / 478.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.125, allocations: 4 kB / 478.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1251, allocations: 63.97 kB / 478.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1254, allocations: 25.61 kB / 478.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.1258, allocations: 291.7 kB / 478.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.126, allocations: 0.7158 MB / 479.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.913e-05/0.1261, allocations: 28.53 kB / 479.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.1262, allocations: 15.44 kB / 479.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1262, allocations: 0 / 479.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of Templates: time 0.1172/0.2434, allocations: 1.599 MB / 481 MB, free: 3.137 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches