Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009464/0.0009514, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.747/1.747, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008/0.0007998, allocations: 86.06 kB / 270.9 MB, free: 8.355 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.4489/0.4489, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006816/0.0006819, allocations: 8 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1958, allocations: 58.85 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002968/0.1988, allocations: 1.259 MB / 491.5 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007998/0.1997, allocations: 291.9 kB / 491.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.1998, allocations: 0 / 491.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.2, allocations: 27.91 kB / 491.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.2002, allocations: 23.86 kB / 491.8 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.2007, allocations: 83.89 kB / 491.9 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.2009, allocations: 43.84 kB / 492 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.201, allocations: 23.97 kB / 492 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.2011, allocations: 19.86 kB / 492 MB, free: 9.422 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.2012, allocations: 11.94 kB / 492 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.2012, allocations: 0 / 492 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.2014, allocations: 35.92 kB / 492 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.2014, allocations: 11.92 kB / 492.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.2015, allocations: 37.64 kB / 492.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.2017, allocations: 51.91 kB / 492.1 MB, free: 9.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2017, allocations: 0 / 492.1 MB, free: 9.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.2017, allocations: 0 / 492.1 MB, free: 9.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2018, allocations: 0 / 492.1 MB, free: 9.27 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.000642/0.2024, allocations: 367.4 kB / 492.5 MB, free: 8.863 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.2025, allocations: 19.95 kB / 492.5 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.2026, allocations: 7.859 kB / 492.5 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.2029, allocations: 190.5 kB / 492.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.2029, allocations: 4 kB / 492.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.2029, allocations: 0 / 492.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.2032, allocations: 49.62 kB / 492.8 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.2032, allocations: 4 kB / 492.8 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.2032, allocations: 0 / 492.8 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2033, allocations: 4 kB / 492.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.2035, allocations: 35.92 kB / 492.8 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.2041, allocations: 269 kB / 493.1 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.2045, allocations: 54.5 kB / 493.1 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.65e-05/0.2046, allocations: 16.94 kB / 493.1 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.2047, allocations: 4 kB / 493.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.2047, allocations: 34.56 kB / 493.2 MB, free: 8.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.495e-06/0.2048, allocations: 4 kB / 493.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.00107/0.2058, allocations: 165.2 kB / 493.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.2059, allocations: 59.41 kB / 493.4 MB, free: 7.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.2062, allocations: 142.1 kB / 493.5 MB, free: 7.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.2062, allocations: 25.7 kB / 493.6 MB, free: 7.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.2063, allocations: 92.12 kB / 493.7 MB, free: 7.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.2063, allocations: 15.8 kB / 493.7 MB, free: 7.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.2063, allocations: 0 / 493.7 MB, free: 7.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.2065, allocations: 322.8 kB / 494 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.2067, allocations: 27.98 kB / 494 MB, free: 7.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.2068, allocations: 23.98 kB / 494 MB, free: 7.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.2069, allocations: 23.98 kB / 494.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.207, allocations: 0 / 494.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003113/0.2073, allocations: 101.5 kB / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.2073, allocations: 7.953 kB / 494.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2073, allocations: 0 / 494.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2073, allocations: 0 / 494.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.74e-05/0.2075, allocations: 16.23 kB / 494.2 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2075, allocations: 0 / 494.2 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.2076, allocations: 19.94 kB / 494.2 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.2076, allocations: 7.938 kB / 494.2 MB, free: 6.98 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 0.0001285/0.2077, allocations: 113.8 kB / 494.3 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.2078, allocations: 11.89 kB / 494.3 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.2082, allocations: 109.8 kB / 494.4 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2082, allocations: 8 kB / 494.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2083, allocations: 0 / 494.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2083, allocations: 288 / 494.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.2089, allocations: 346.6 kB / 494.8 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2089, allocations: 7.953 kB / 494.8 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.2089, allocations: 23.92 kB / 494.8 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.209, allocations: 7.984 kB / 494.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.209, allocations: 0 / 494.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.209, allocations: 0 / 494.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.209, allocations: 0 / 494.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.2092, allocations: 187.4 kB / 495 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.2093, allocations: 88.97 kB / 495.1 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.2093, allocations: 4 kB / 495.1 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.2094, allocations: 7.984 kB / 495.1 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.2094, allocations: 4 kB / 495.1 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.2095, allocations: 192 / 495.1 MB, free: 5.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.856e-05/0.2096, allocations: 111.2 kB / 495.2 MB, free: 5.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2096, allocations: 4 kB / 495.2 MB, free: 5.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003119/0.2099, allocations: 16 kB / 495.2 MB, free: 5.84 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.0008129/0.2107, allocations: 409.9 kB / 495.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.2109, allocations: 51.97 kB / 495.7 MB, free: 5.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2109, allocations: 4 kB / 495.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.919e-05/0.211, allocations: 31.98 kB / 495.7 MB, free: 5.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2113, allocations: 11.98 kB / 495.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.2117, allocations: 226.1 kB / 496 MB, free: 5.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.212, allocations: 0.6887 MB / 496.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.2121, allocations: 15.44 kB / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2121, allocations: 0 / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of Templates: time 0.002803/0.2149, allocations: 1.38 MB / 498 MB, free: 3.023 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches