Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001162, allocations: 110 kB / 17.03 MB, free: 6.102 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.001275/0.001275, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.417/1.417, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.2155/0.2155, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 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.001501/0.001501, allocations: 77.67 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09642/0.09794, allocations: 57.79 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002315/0.1003, allocations: 1.551 MB / 443.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004906/0.1008, allocations: 331.5 kB / 443.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.1009, allocations: 0 / 443.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.1013, allocations: 463.1 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.1015, allocations: 247.5 kB / 444.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1018, allocations: 155.3 kB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.102, allocations: 151.8 kB / 444.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.1021, allocations: 15.98 kB / 444.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.308e-05/0.1022, allocations: 103.7 kB / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.1023, allocations: 207.6 kB / 445.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1023, allocations: 4 kB / 445.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.273e-05/0.1024, allocations: 19.97 kB / 445.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.822e-05/0.1025, allocations: 83.69 kB / 445.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.1025, allocations: 103 kB / 445.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1027, allocations: 251 kB / 445.6 MB, free: 2.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1027, allocations: 0 / 445.6 MB, free: 2.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1027, allocations: 0 / 445.6 MB, free: 2.465 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1027, allocations: 7.938 kB / 445.6 MB, free: 2.457 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005363/0.1033, allocations: 0.618 MB / 446.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1033, allocations: 11.89 kB / 446.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.1034, allocations: 40.47 kB / 446.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1036, allocations: 296.2 kB / 446.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1036, allocations: 384 / 446.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.1036, allocations: 4.375 kB / 446.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1037, allocations: 53.81 kB / 446.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1037, allocations: 0 / 446.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1038, allocations: 7.984 kB / 446.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1038, allocations: 3.938 kB / 446.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.278e-05/0.1038, allocations: 27.91 kB / 446.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.1042, allocations: 384.7 kB / 447 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.1043, allocations: 34.56 kB / 447.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.1043, allocations: 12.92 kB / 447.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1044, allocations: 4 kB / 447.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.1044, allocations: 38.44 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1044, allocations: 0 / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002055/0.1046, allocations: 97.2 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.1046, allocations: 55.41 kB / 447.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.1052, allocations: 0.8615 MB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1053, allocations: 25.7 kB / 448.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.1054, allocations: 224.1 kB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.1055, allocations: 3.906 kB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.1055, allocations: 17.7 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1056, allocations: 362.7 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.1057, allocations: 11.98 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.1057, allocations: 7.938 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.1058, allocations: 36.91 kB / 448.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1058, allocations: 0 / 448.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001323/0.1059, allocations: 93.11 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.106, allocations: 4 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.106, allocations: 0 / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.106, allocations: 0 / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.1061, allocations: 4 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1061, allocations: 4 kB / 448.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.1061, allocations: 11.95 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1061, allocations: 0 / 448.9 MB, free: 14.91 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 (2): * Single equations (assignments): 2 * 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.000171/0.1063, allocations: 213.7 kB / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.1064, allocations: 47.38 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.1066, allocations: 108.6 kB / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1066, allocations: 0 / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1066, allocations: 0 / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1066, allocations: 4.031 kB / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1068, allocations: 285.5 kB / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1068, allocations: 0 / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.1069, allocations: 8 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1069, allocations: 0 / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1069, allocations: 0 / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1069, allocations: 4 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1069, allocations: 0 / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.1071, allocations: 194.9 kB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.1072, allocations: 116.4 kB / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1072, allocations: 0 / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/0.1073, allocations: 4 kB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.1073, allocations: 7.984 kB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.1073, allocations: 0 / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005748/0.1079, allocations: 0.6472 MB / 450.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1079, allocations: 0 / 450.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1082, allocations: 16 kB / 450.6 MB, free: 13.18 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 (2): * Single equations (assignments): 2 * 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.0008042/0.109, allocations: 357.6 kB / 450.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.1091, allocations: 27.98 kB / 450.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1091, allocations: 0 / 450.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.1092, allocations: 19.92 kB / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1096, allocations: 25.95 kB / 451 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009518/0.1105, allocations: 0.7557 MB / 451.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1109, allocations: 0.8259 MB / 452.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.506e-05/0.111, allocations: 7.984 kB / 452.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.111, allocations: 11.44 kB / 452.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.111, allocations: 4 kB / 452.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of Templates: time 0.00437/0.1154, allocations: 1.264 MB / 453.8 MB, free: 9.926 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches