Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 109.9 kB / 18.3 MB, free: 4.887 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.001825/0.001825, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.449/1.449, allocations: 222.9 MB / 242.9 MB, free: 15.26 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.1963/0.1963, allocations: 44.18 MB / 337.3 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.27 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09653, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002774/0.09935, allocations: 1.568 MB / 471.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006507/0.1, allocations: 411.2 kB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.1001, allocations: 0 / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004721/0.1006, allocations: 447.2 kB / 472.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.1009, allocations: 251.4 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1012, allocations: 130.3 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1014, allocations: 143.8 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.1015, allocations: 23.95 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.765e-05/0.1016, allocations: 107.7 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1018, allocations: 199.7 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.1018, allocations: 4 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.1019, allocations: 27.91 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.218e-05/0.102, allocations: 83.7 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.1021, allocations: 98.98 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.1023, allocations: 227.1 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1023, allocations: 0 / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1024, allocations: 0 / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1024, allocations: 0 / 473.6 MB, free: 10.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006067/0.103, allocations: 0.6183 MB / 474.2 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.103, allocations: 15.97 kB / 474.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.1031, allocations: 44.38 kB / 474.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1033, allocations: 284.2 kB / 474.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1034, allocations: 12.38 kB / 474.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.1034, allocations: 4.375 kB / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1035, allocations: 45.81 kB / 474.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1035, allocations: 0 / 474.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1035, allocations: 4 kB / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1035, allocations: 0 / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.1036, allocations: 23.97 kB / 474.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.104, allocations: 380.6 kB / 475 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.794e-05/0.1041, allocations: 26.58 kB / 475 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.1042, allocations: 16.91 kB / 475.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1042, allocations: 4 kB / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.1042, allocations: 30.56 kB / 475.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1042, allocations: 0 / 475.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002366/0.1045, allocations: 101.1 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1045, allocations: 51.41 kB / 475.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007335/0.1053, allocations: 0.8535 MB / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1053, allocations: 25.7 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.1055, allocations: 220.1 kB / 476.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.1055, allocations: 11.89 kB / 476.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.1055, allocations: 13.72 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1057, allocations: 366.8 kB / 476.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.1057, allocations: 11.98 kB / 476.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.1057, allocations: 8 kB / 476.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.1058, allocations: 20.84 kB / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1058, allocations: 4 kB / 476.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001488/0.106, allocations: 89.12 kB / 476.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.106, allocations: 14.53 kB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.106, allocations: 0 / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.106, allocations: 0 / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.1061, allocations: 7.984 kB / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1061, allocations: 0 / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.1062, allocations: 4 kB / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1062, allocations: 0 / 476.9 MB, free: 7.168 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 (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.0001745/0.1064, allocations: 221.6 kB / 477.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.1064, allocations: 39.44 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.1066, allocations: 112.5 kB / 477.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1066, allocations: 0 / 477.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1066, allocations: 0 / 477.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1067, allocations: 0 / 477.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.1069, allocations: 281.5 kB / 477.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1069, allocations: 0 / 477.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.287e-05/0.107, allocations: 4 kB / 477.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.107, allocations: 0 / 477.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.107, allocations: 0 / 477.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.107, allocations: 12.03 kB / 477.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.107, allocations: 0 / 477.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.1072, allocations: 187 kB / 477.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.1072, allocations: 108.5 kB / 477.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1073, allocations: 0 / 477.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.1074, allocations: 4 kB / 477.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.1074, allocations: 7.969 kB / 477.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1074, allocations: 3.984 kB / 477.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005593/0.108, allocations: 0.6472 MB / 478.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.108, allocations: 0 / 478.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1082, allocations: 23.94 kB / 478.5 MB, free: 5.434 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 (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.0007448/0.109, allocations: 358.7 kB / 478.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.1091, allocations: 15.98 kB / 478.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1091, allocations: 0 / 478.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.1092, allocations: 15.94 kB / 478.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.1095, allocations: 21.95 kB / 478.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/0.1105, allocations: 0.8079 MB / 479.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.1108, allocations: 0.8143 MB / 480.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.1108, allocations: 11.44 kB / 480.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1108, allocations: 0 / 480.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of Templates: time 0.005828/0.1167, allocations: 3.422 MB / 484 MB, free: 48 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches