Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.00084, allocations: 97.02 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008772/0.0008772, allocations: 183.6 kB / 16.92 MB, free: 6.934 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.548/1.548, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4956/0.4956, allocations: 43.57 MB / 315 MB, free: 9.051 MB / 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.0007158/0.0007163, allocations: 16 kB / 384.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1925, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002581/0.1952, allocations: 1.298 MB / 444.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.1962, allocations: 323.6 kB / 445.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.418e-05/0.1963, allocations: 0 / 445.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.1967, allocations: 91.8 kB / 445.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.197, allocations: 63.86 kB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1974, allocations: 83.83 kB / 445.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.1976, allocations: 79.81 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.1979, allocations: 20.45 kB / 445.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.198, allocations: 35.83 kB / 445.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.1982, allocations: 55.81 kB / 445.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1982, allocations: 0 / 445.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1984, allocations: 27.98 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.1985, allocations: 19.92 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.45e-05/0.1986, allocations: 57.45 kB / 445.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.1989, allocations: 107.6 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1989, allocations: 4 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.1989, allocations: 0 / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1989, allocations: 0 / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007642/0.1997, allocations: 403 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.422e-05/0.1998, allocations: 12.03 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.1999, allocations: 12.75 kB / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.2002, allocations: 200.8 kB / 446.3 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2002, allocations: 8.375 kB / 446.3 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.2003, allocations: 384 / 446.3 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.2005, allocations: 83.27 kB / 446.4 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.2006, allocations: 4 kB / 446.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2006, allocations: 0 / 446.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2006, allocations: 0 / 446.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.2007, allocations: 43.97 kB / 446.4 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.2013, allocations: 404.9 kB / 446.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.2016, allocations: 89.2 kB / 446.9 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.2017, allocations: 37.67 kB / 447 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.2018, allocations: 8 kB / 447 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.2018, allocations: 30.56 kB / 447 MB, free: 9.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.2018, allocations: 3.938 kB / 447 MB, free: 9.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007876/0.2026, allocations: 260.8 kB / 447.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.2027, allocations: 81.11 kB / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.2029, allocations: 238.3 kB / 447.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.203, allocations: 25.7 kB / 447.6 MB, free: 8.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.2031, allocations: 112 kB / 447.7 MB, free: 8.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.2031, allocations: 35.53 kB / 447.7 MB, free: 8.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.2032, allocations: 13.72 kB / 447.7 MB, free: 8.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.2034, allocations: 322.8 kB / 448.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.2035, allocations: 43.97 kB / 448.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.445e-05/0.2036, allocations: 49.69 kB / 448.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.2038, allocations: 97.62 kB / 448.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2038, allocations: 0 / 448.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002736/0.2041, allocations: 129.5 kB / 448.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.2042, allocations: 8 kB / 448.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2042, allocations: 3.938 kB / 448.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.2042, allocations: 0 / 448.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.2043, allocations: 31.98 kB / 448.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.2043, allocations: 3.938 kB / 448.4 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.2044, allocations: 4 kB / 448.4 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.2044, allocations: 7.984 kB / 448.4 MB, free: 7.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001674/0.2046, allocations: 133.8 kB / 448.6 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.2046, allocations: 11.91 kB / 448.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/0.2052, allocations: 162.7 kB / 448.7 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2052, allocations: 4 kB / 448.7 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.2052, allocations: 3.938 kB / 448.7 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2052, allocations: 0 / 448.7 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.206, allocations: 0.5102 MB / 449.3 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.206, allocations: 4 kB / 449.3 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.857e-05/0.2061, allocations: 23.92 kB / 449.3 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.2061, allocations: 4 kB / 449.3 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.2061, allocations: 4 kB / 449.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2061, allocations: 4.031 kB / 449.3 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2061, allocations: 7.938 kB / 449.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.2065, allocations: 311.5 kB / 449.6 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.2066, allocations: 92.95 kB / 449.7 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2066, allocations: 0 / 449.7 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2067, allocations: 11.98 kB / 449.7 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.2067, allocations: 11.92 kB / 449.7 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.2068, allocations: 8.609 kB / 449.7 MB, free: 6.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.2069, allocations: 168.2 kB / 449.9 MB, free: 6.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2069, allocations: 0 / 449.9 MB, free: 6.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.2072, allocations: 28 kB / 449.9 MB, free: 6.031 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0009892/0.2082, allocations: 405.4 kB / 450.3 MB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.2085, allocations: 95.81 kB / 450.4 MB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2085, allocations: 0 / 450.4 MB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.2086, allocations: 51.92 kB / 450.5 MB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.2091, allocations: 23.92 kB / 450.5 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006309/0.2097, allocations: 323.4 kB / 450.8 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.2101, allocations: 0.716 MB / 451.5 MB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.999e-05/0.2102, allocations: 28.39 kB / 451.5 MB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.2102, allocations: 15.44 kB / 451.6 MB, free: 4.359 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2102, allocations: 0 / 451.6 MB, free: 4.359 MB / 382.1 MB Notification: Performance of Templates: time 0.004596/0.2148, allocations: 1.226 MB / 452.8 MB, free: 3.133 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches