Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 108.3 kB / 18.41 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 191 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2278/0.2278, allocations: 44.17 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001587, allocations: 63.81 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1875, allocations: 60.84 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003977/0.1916, allocations: 1.878 MB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1935, allocations: 0.9899 MB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1936, allocations: 4 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.1942, allocations: 251.4 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003987/0.1946, allocations: 187.4 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.1952, allocations: 182.1 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.1955, allocations: 251.3 kB / 474.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.1957, allocations: 33.67 kB / 474.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1959, allocations: 131.5 kB / 474.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.1961, allocations: 175.5 kB / 474.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.1962, allocations: 8 kB / 474.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.1963, allocations: 67.97 kB / 474.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1965, allocations: 67.7 kB / 474.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.1966, allocations: 99.27 kB / 475 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.1969, allocations: 239.1 kB / 475.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.197, allocations: 0 / 475.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.197, allocations: 0 / 475.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.197, allocations: 0 / 475.3 MB, free: 9.078 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009806/0.198, allocations: 0.5719 MB / 475.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.198, allocations: 8.031 kB / 475.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.1981, allocations: 32.56 kB / 475.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.1986, allocations: 288 kB / 476.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.1987, allocations: 4.375 kB / 476.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.1987, allocations: 12.12 kB / 476.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.199, allocations: 115.3 kB / 476.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1991, allocations: 0 / 476.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.1991, allocations: 3.984 kB / 476.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.1991, allocations: 8 kB / 476.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.1993, allocations: 47.97 kB / 476.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.2, allocations: 480.6 kB / 476.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.2004, allocations: 117.2 kB / 476.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.2005, allocations: 49.83 kB / 477 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.2005, allocations: 4.141 kB / 477 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.2008, allocations: 119.8 kB / 477.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.2008, allocations: 3.938 kB / 477.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001389/0.2022, allocations: 0.5006 MB / 477.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.2023, allocations: 85.09 kB / 477.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.2028, allocations: 477.7 kB / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.2028, allocations: 33.7 kB / 478.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.203, allocations: 156.5 kB / 478.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.85e-05/0.2031, allocations: 75 kB / 478.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.2032, allocations: 45.7 kB / 478.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.2034, allocations: 342.8 kB / 478.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.2036, allocations: 59.97 kB / 478.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.2037, allocations: 91.33 kB / 478.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.204, allocations: 167.3 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2041, allocations: 0 / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004399/0.2045, allocations: 229.2 kB / 479.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.2045, allocations: 11.92 kB / 479.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.2046, allocations: 240 / 479.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.2046, allocations: 4 kB / 479.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2048, allocations: 43.92 kB / 479.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.2048, allocations: 12.05 kB / 479.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.763e-05/0.2049, allocations: 8 kB / 479.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.2049, allocations: 11.98 kB / 479.4 MB, free: 4.645 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002624/0.2052, allocations: 173.7 kB / 479.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.2053, allocations: 43.47 kB / 479.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.2054, allocations: 42.81 kB / 479.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2054, allocations: 0 / 479.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.252e-05/0.2054, allocations: 4 kB / 479.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2054, allocations: 7.984 kB / 479.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.2066, allocations: 0.7272 MB / 480.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2067, allocations: 4 kB / 480.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.2068, allocations: 31.92 kB / 480.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.2068, allocations: 320 / 480.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.2068, allocations: 15.98 kB / 480.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.2068, allocations: 7.938 kB / 480.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2068, allocations: 0 / 480.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.2074, allocations: 421.7 kB / 480.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.2076, allocations: 104.7 kB / 481 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.2076, allocations: 8 kB / 481 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2078, allocations: 8 kB / 481 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.2079, allocations: 27.78 kB / 481 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.2079, allocations: 16 kB / 481 MB, free: 2.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004217/0.2083, allocations: 359.1 kB / 481.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2084, allocations: 4 kB / 481.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.2088, allocations: 48 kB / 481.4 MB, free: 2.488 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001553/0.2103, allocations: 0.5022 MB / 481.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.2107, allocations: 168 kB / 482.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2107, allocations: 0 / 482.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.2109, allocations: 84.03 kB / 482.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.2115, allocations: 62.14 kB / 482.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2125, allocations: 0.5825 MB / 482.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.2129, allocations: 0.7792 MB / 483.6 MB, free: 464 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.2131, allocations: 41.91 kB / 483.6 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.2131, allocations: 35.42 kB / 483.7 MB, free: 388 kB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2131, allocations: 0 / 483.7 MB, free: 388 kB / 350.1 MB Notification: Performance of Templates: time 0.007267/0.2204, allocations: 3.135 MB / 486.8 MB, free: 13.27 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches