Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 96.14 kB / 15.87 MB, free: 16 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.001893/0.001893, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.851/1.851, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.4961/0.4961, allocations: 43.5 MB / 313.5 MB, free: 8.562 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.001577/0.001577, allocations: 75.11 kB / 382 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1893, allocations: 57.79 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00371/0.1931, allocations: 1.753 MB / 441.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1945, allocations: 0.7924 MB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.1946, allocations: 0 / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.1951, allocations: 79.77 kB / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.1953, allocations: 71.78 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1956, allocations: 79.84 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1958, allocations: 107.7 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1959, allocations: 12.22 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.196, allocations: 51.77 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1961, allocations: 55.81 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1962, allocations: 7.938 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1963, allocations: 47.92 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.1964, allocations: 19.92 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.1964, allocations: 39.67 kB / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1966, allocations: 119.9 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1966, allocations: 0 / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1966, allocations: 0 / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1967, allocations: 0 / 443.1 MB, free: 11.61 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000658/0.1973, allocations: 426.8 kB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1974, allocations: 12.03 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.1974, allocations: 12.84 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.1977, allocations: 215.9 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1977, allocations: 384 / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.1978, allocations: 12.12 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.198, allocations: 49.67 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.198, allocations: 0 / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.198, allocations: 4 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.198, allocations: 7.984 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.1981, allocations: 15.98 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.1986, allocations: 296.8 kB / 444.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1988, allocations: 58.67 kB / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.1988, allocations: 20.84 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1989, allocations: 0 / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.1991, allocations: 79.33 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1991, allocations: 0 / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006622/0.1998, allocations: 173.2 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1998, allocations: 59.34 kB / 444.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.2001, allocations: 218.7 kB / 444.7 MB, free: 9.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2001, allocations: 25.7 kB / 444.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.2002, allocations: 104.1 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.2003, allocations: 31.64 kB / 444.8 MB, free: 9.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.2003, allocations: 21.72 kB / 444.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.2005, allocations: 330.8 kB / 445.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.2006, allocations: 20 kB / 445.2 MB, free: 9.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.413e-05/0.2007, allocations: 33.7 kB / 445.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.2008, allocations: 65.64 kB / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2008, allocations: 4.188 kB / 445.3 MB, free: 9.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.201, allocations: 97.48 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2011, allocations: 15.88 kB / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2011, allocations: 0 / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.2011, allocations: 3.984 kB / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.2012, allocations: 15.94 kB / 445.4 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.2013, allocations: 4 kB / 445.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.2013, allocations: 7.938 kB / 445.4 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2013, allocations: 4 kB / 445.4 MB, free: 8.973 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001571/0.2015, allocations: 137.8 kB / 445.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.2015, allocations: 7.906 kB / 445.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.811e-05/0.2016, allocations: 21.39 kB / 445.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2016, allocations: 0 / 445.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.2016, allocations: 0 / 445.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2016, allocations: 3.938 kB / 445.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005383/0.2022, allocations: 399.2 kB / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2022, allocations: 4.031 kB / 446 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.2022, allocations: 11.98 kB / 446 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2022, allocations: 0 / 446 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2023, allocations: 3.938 kB / 446 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2023, allocations: 4.234 kB / 446 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.2023, allocations: 3.938 kB / 446 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.2026, allocations: 204.7 kB / 446.2 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.352e-05/0.2027, allocations: 92.91 kB / 446.3 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.2027, allocations: 3.938 kB / 446.3 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.2028, allocations: 12 kB / 446.3 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.2029, allocations: 7.984 kB / 446.3 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.2029, allocations: 4 kB / 446.3 MB, free: 7.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.2031, allocations: 168.3 kB / 446.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2031, allocations: 0 / 446.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.2034, allocations: 27.98 kB / 446.5 MB, free: 7.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001354/0.2048, allocations: 469 kB / 447 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.205, allocations: 55.98 kB / 447.1 MB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.205, allocations: 64 / 447.1 MB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/0.2051, allocations: 31.92 kB / 447.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.2055, allocations: 27.97 kB / 447.1 MB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006725/0.2062, allocations: 284.7 kB / 447.4 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.2067, allocations: 0.7082 MB / 448.1 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.263e-05/0.2068, allocations: 21.16 kB / 448.1 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.2068, allocations: 15.44 kB / 448.1 MB, free: 6.156 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2068, allocations: 0 / 448.1 MB, free: 6.156 MB / 382.1 MB Notification: Performance of Templates: time 0.005253/0.2121, allocations: 1.661 MB / 449.8 MB, free: 4.496 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches