Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008641/0.0008642, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.178/1.178, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007119/0.0007121, allocations: 99.89 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.278/0.278, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 19.94 kB / 432 MB, free: 5.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09685/0.0972, allocations: 58.84 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.00171/0.09896, allocations: 1.352 MB / 492.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000542/0.09952, allocations: 331.7 kB / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.09957, allocations: 0 / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.09975, allocations: 19.92 kB / 492.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.09991, allocations: 35.84 kB / 492.6 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1002, allocations: 107.8 kB / 492.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1003, allocations: 67.77 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.1004, allocations: 20.22 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.402e-05/0.1005, allocations: 27.86 kB / 492.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.1006, allocations: 27.84 kB / 492.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1006, allocations: 7.938 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1007, allocations: 47.97 kB / 492.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.1008, allocations: 15.92 kB / 492.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.1008, allocations: 53.55 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.101, allocations: 76.16 kB / 493 MB, free: 8.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.101, allocations: 3.938 kB / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.101, allocations: 0 / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.101, allocations: 0 / 493 MB, free: 8.461 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005489/0.1015, allocations: 419.1 kB / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1016, allocations: 12.03 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.1017, allocations: 8.844 kB / 493.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.1018, allocations: 194.7 kB / 493.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1019, allocations: 8.375 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.1019, allocations: 4.375 kB / 493.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.1022, allocations: 111.4 kB / 493.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1022, allocations: 0 / 493.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1022, allocations: 7.984 kB / 493.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.1022, allocations: 0 / 493.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.1025, allocations: 95.92 kB / 493.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.1029, allocations: 296.7 kB / 494.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.1032, allocations: 90.41 kB / 494.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.1033, allocations: 52.94 kB / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.1034, allocations: 8 kB / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1034, allocations: 30.56 kB / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.522e-06/0.1034, allocations: 0 / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001604/0.105, allocations: 461.1 kB / 494.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1051, allocations: 81.09 kB / 494.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.1052, allocations: 153.7 kB / 495 MB, free: 6.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1053, allocations: 25.7 kB / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.1053, allocations: 96.05 kB / 495.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.1054, allocations: 27.64 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.1054, allocations: 0 / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.1055, allocations: 318.8 kB / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.1058, allocations: 87.92 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.1061, allocations: 105.6 kB / 495.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.1066, allocations: 184.7 kB / 495.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1066, allocations: 0 / 495.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005814/0.1072, allocations: 233.7 kB / 496 MB, free: 5.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1072, allocations: 4 kB / 496 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1072, allocations: 8 kB / 496.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1072, allocations: 0 / 496.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.1074, allocations: 43.95 kB / 496.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1075, allocations: 0 / 496.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.1076, allocations: 39.91 kB / 496.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1076, allocations: 0 / 496.1 MB, free: 5.086 MB / 378.7 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.343e-05/0.1077, allocations: 129.8 kB / 496.3 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.1078, allocations: 7.906 kB / 496.3 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006312/0.1084, allocations: 242.1 kB / 496.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1084, allocations: 0 / 496.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1084, allocations: 7.938 kB / 496.5 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1084, allocations: 3.938 kB / 496.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/0.1093, allocations: 0.5023 MB / 497 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1093, allocations: 0 / 497 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.1096, allocations: 47.95 kB / 497.1 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1096, allocations: 4 kB / 497.1 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1096, allocations: 3.938 kB / 497.1 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-05/0.1096, allocations: 4 kB / 497.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1096, allocations: 384 / 497.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.1103, allocations: 319.2 kB / 497.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.1103, allocations: 89 kB / 497.5 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.1104, allocations: 7.938 kB / 497.5 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1105, allocations: 39.97 kB / 497.5 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.1106, allocations: 11.92 kB / 497.5 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1106, allocations: 7.984 kB / 497.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.472e-05/0.1107, allocations: 110.9 kB / 497.7 MB, free: 3.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1107, allocations: 0 / 497.7 MB, free: 3.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.111, allocations: 27.98 kB / 497.7 MB, free: 3.441 MB / 378.7 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008751/0.1119, allocations: 462.1 kB / 498.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.1125, allocations: 195.8 kB / 498.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1125, allocations: 0 / 498.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.1128, allocations: 99.92 kB / 498.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.1131, allocations: 15.98 kB / 498.4 MB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.1135, allocations: 234.8 kB / 498.7 MB, free: 2.461 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.1137, allocations: 0.7003 MB / 499.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.1138, allocations: 23.38 kB / 499.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1138, allocations: 0 / 499.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of Templates: time 0.1627/0.2766, allocations: 2.073 MB / 0.4897 GB, free: 42.73 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches