Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001892/0.001892, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.6 MB, free: 15.43 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.1946/0.1946, allocations: 44.18 MB / 336.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.41 kB / 408.5 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09618/0.09742, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.002875/0.1003, allocations: 1.696 MB / 471.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006651/0.101, allocations: 419.2 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.1011, allocations: 0 / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.1013, allocations: 55.86 kB / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.1015, allocations: 51.81 kB / 471.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1018, allocations: 119.7 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.102, allocations: 75.81 kB / 471.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.1021, allocations: 16 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/0.1021, allocations: 35.84 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.1022, allocations: 43.83 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1022, allocations: 4 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1023, allocations: 47.98 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.907e-05/0.1024, allocations: 27.91 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.1025, allocations: 27.75 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.1026, allocations: 75.89 kB / 472.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1026, allocations: 0 / 472.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1026, allocations: 0 / 472.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1026, allocations: 0 / 472.1 MB, free: 12.04 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.0004903/0.1031, allocations: 415.3 kB / 472.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1032, allocations: 12.03 kB / 472.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.1032, allocations: 12.75 kB / 472.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1034, allocations: 184.8 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1034, allocations: 8.359 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1034, allocations: 11.84 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1036, allocations: 73.53 kB / 472.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1036, allocations: 4 kB / 472.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.1036, allocations: 0 / 472.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1037, allocations: 0 / 472.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1038, allocations: 35.97 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.1042, allocations: 296.8 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.1044, allocations: 58.55 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.1045, allocations: 24.97 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1045, allocations: 4 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1045, allocations: 30.56 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1045, allocations: 0 / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001338/0.1059, allocations: 397.2 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.1059, allocations: 55.41 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1061, allocations: 171.9 kB / 473.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1061, allocations: 29.7 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.1062, allocations: 104.1 kB / 473.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.1062, allocations: 35.45 kB / 474 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1062, allocations: 29.66 kB / 474 MB, free: 9.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1064, allocations: 326.8 kB / 474.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1065, allocations: 35.97 kB / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1066, allocations: 43.91 kB / 474.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.1068, allocations: 104.9 kB / 474.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1068, allocations: 4 kB / 474.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002723/0.1071, allocations: 141.4 kB / 474.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1071, allocations: 4 kB / 474.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1072, allocations: 3.938 kB / 474.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1072, allocations: 4 kB / 474.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1073, allocations: 27.98 kB / 474.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1073, allocations: 4 kB / 474.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.1073, allocations: 7.984 kB / 474.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1074, allocations: 4 kB / 474.7 MB, free: 9.156 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 9.208e-05/0.1075, allocations: 126.4 kB / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.1075, allocations: 19.75 kB / 474.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.1079, allocations: 162.7 kB / 475 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1079, allocations: 4 kB / 475 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1079, allocations: 0 / 475 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1079, allocations: 0 / 475 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.1085, allocations: 472 kB / 475.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1085, allocations: 0 / 475.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.1086, allocations: 23.98 kB / 475.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1086, allocations: 7.938 kB / 475.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1086, allocations: 0 / 475.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1086, allocations: 4 kB / 475.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1086, allocations: 0 / 475.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.1089, allocations: 261 kB / 475.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.109, allocations: 85.02 kB / 475.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.109, allocations: 0 / 475.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.1091, allocations: 15.98 kB / 475.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1092, allocations: 11.98 kB / 475.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1092, allocations: 7.938 kB / 475.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.392e-05/0.1093, allocations: 136.9 kB / 476 MB, free: 7.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1093, allocations: 96 / 476 MB, free: 7.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1096, allocations: 35.92 kB / 476 MB, free: 7.695 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.0009694/0.1105, allocations: 451.8 kB / 476.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.1109, allocations: 107.9 kB / 476.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1109, allocations: 0 / 476.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.111, allocations: 68.02 kB / 476.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1114, allocations: 20.03 kB / 476.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.1118, allocations: 341.3 kB / 477 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1121, allocations: 0.7079 MB / 477.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.1121, allocations: 15.44 kB / 477.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1122, allocations: 0 / 477.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of Templates: time 0.003283/0.1154, allocations: 1.863 MB / 479.6 MB, free: 4.266 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches