Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.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.CombiTable1D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008578/0.0008578, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.206/1.206, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.00076/0.0007603, allocations: 93.36 kB / 271.2 MB, free: 8.25 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.2904/0.2904, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 12 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 58.86 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.001777/0.1041, allocations: 1.267 MB / 492.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005691/0.1047, allocations: 303.8 kB / 492.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.1048, allocations: 0 / 492.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.1051, allocations: 107.8 kB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.1052, allocations: 67.78 kB / 492.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.1055, allocations: 79.91 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1057, allocations: 59.81 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.1058, allocations: 19.97 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.1058, allocations: 39.78 kB / 492.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.106, allocations: 51.86 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.106, allocations: 0 / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.1061, allocations: 24 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.1061, allocations: 27.92 kB / 492.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.1062, allocations: 49.45 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1063, allocations: 71.88 kB / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1063, allocations: 0 / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1063, allocations: 0 / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1063, allocations: 0 / 493 MB, free: 8.484 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004439/0.1068, allocations: 399.3 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1068, allocations: 15.97 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.1069, allocations: 12.75 kB / 493.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1071, allocations: 208 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.1071, allocations: 384 / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1071, allocations: 4.375 kB / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.1073, allocations: 49.81 kB / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1073, allocations: 0 / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1073, allocations: 4 kB / 493.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1073, allocations: 0 / 493.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/0.1074, allocations: 31.97 kB / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.1078, allocations: 304.7 kB / 494 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.108, allocations: 42.56 kB / 494 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.1081, allocations: 24.94 kB / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.1081, allocations: 4 kB / 494 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.1081, allocations: 30.56 kB / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1081, allocations: 0 / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005813/0.1087, allocations: 173.2 kB / 494.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1088, allocations: 51.41 kB / 494.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.109, allocations: 234.7 kB / 494.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.109, allocations: 29.7 kB / 494.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.1091, allocations: 112 kB / 494.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1091, allocations: 15.75 kB / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.1091, allocations: 0 / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1093, allocations: 330.8 kB / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.1093, allocations: 31.91 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.194e-05/0.1094, allocations: 23.98 kB / 495.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.1096, allocations: 64.83 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1096, allocations: 0 / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001919/0.1098, allocations: 89.56 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1098, allocations: 8 kB / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1098, allocations: 4.25 kB / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1098, allocations: 3.938 kB / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.396e-05/0.1099, allocations: 16 kB / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1099, allocations: 3.938 kB / 495.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.11, allocations: 15.92 kB / 495.3 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.11, allocations: 0 / 495.3 MB, free: 5.973 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 (5): * Single equations (assignments): 5 * 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.75e-05/0.1101, allocations: 137.8 kB / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.1101, allocations: 12.09 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.1104, allocations: 106.6 kB / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1104, allocations: 3.984 kB / 495.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1104, allocations: 4 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1104, allocations: 0 / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.1108, allocations: 374.4 kB / 495.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1108, allocations: 0 / 495.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.1109, allocations: 15.98 kB / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1109, allocations: 0 / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1109, allocations: 12 kB / 495.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1109, allocations: 3.938 kB / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1109, allocations: 0 / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.1112, allocations: 195.3 kB / 496.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.1112, allocations: 89.02 kB / 496.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1113, allocations: 0 / 496.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.1113, allocations: 16.11 kB / 496.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.1114, allocations: 4 kB / 496.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.1114, allocations: 4 kB / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.1115, allocations: 184.3 kB / 496.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1116, allocations: 0 / 496.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002279/0.1118, allocations: 19.98 kB / 496.4 MB, free: 4.703 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 (5): * Single equations (assignments): 5 * 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.0007824/0.1126, allocations: 402.3 kB / 496.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.1128, allocations: 59.95 kB / 496.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1128, allocations: 0 / 496.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.146e-05/0.1129, allocations: 35.92 kB / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1132, allocations: 15.98 kB / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.1137, allocations: 299.2 kB / 497.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.114, allocations: 0.7083 MB / 497.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.114, allocations: 11.44 kB / 497.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.114, allocations: 0 / 497.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of Templates: time 0.003147/0.1172, allocations: 1.567 MB / 499.5 MB, free: 1.605 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches