Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 85.95 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 163.2 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.374/1.374, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1964/0.1964, allocations: 32.82 MB / 293.5 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 440.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.273e-05/3.424e-05, allocations: 5.516 kB / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00361/0.003645, allocations: 2.168 MB / 442.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.005898, allocations: 1.271 MB / 443.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.00601, allocations: 7.938 kB / 443.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.00641, allocations: 119.3 kB / 443.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.006957, allocations: 258.8 kB / 444 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.007335, allocations: 191.4 kB / 444.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.007885, allocations: 470.5 kB / 444.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.008034, allocations: 41.2 kB / 444.7 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.008488, allocations: 351.2 kB / 445 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.008686, allocations: 135.5 kB / 445.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.008738, allocations: 20 kB / 445.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.008888, allocations: 79.91 kB / 445.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.009062, allocations: 135.5 kB / 445.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.009185, allocations: 95.5 kB / 445.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.009723, allocations: 426.4 kB / 445.9 MB, free: 2.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.009725, allocations: 0 / 445.9 MB, free: 2.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.009726, allocations: 0 / 445.9 MB, free: 2.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.009732, allocations: 0 / 445.9 MB, free: 2.312 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001123/0.01086, allocations: 0.7643 MB / 446.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.01089, allocations: 11.98 kB / 446.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.011, allocations: 72.5 kB / 446.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.01147, allocations: 350.5 kB / 447.1 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.01149, allocations: 8.375 kB / 447.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.01153, allocations: 16.38 kB / 447.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.01192, allocations: 194 kB / 447.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.01194, allocations: 15.88 kB / 447.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.01196, allocations: 4 kB / 447.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.01197, allocations: 4 kB / 447.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.01223, allocations: 103.9 kB / 447.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.175/0.1872, allocations: 0.7171 MB / 448.2 MB, free: 21.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008161/0.188, allocations: 241 kB / 448.4 MB, free: 21.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1882, allocations: 87.02 kB / 448.5 MB, free: 21.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1882, allocations: 11.83 kB / 448.5 MB, free: 21.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/0.1886, allocations: 209 kB / 448.7 MB, free: 20.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/0.1886, allocations: 0 / 448.7 MB, free: 20.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002368/0.191, allocations: 1.17 MB / 449.9 MB, free: 20.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.191, allocations: 136.4 kB / 450 MB, free: 20.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007831/0.1918, allocations: 0.8069 MB / 450.8 MB, free: 20.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1918, allocations: 39.48 kB / 450.8 MB, free: 20.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.192, allocations: 252.7 kB / 451.1 MB, free: 19.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.574e-05/0.1921, allocations: 147.1 kB / 451.2 MB, free: 19.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1922, allocations: 85.39 kB / 451.3 MB, free: 19.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.1922, allocations: 378 kB / 451.7 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.1925, allocations: 120.4 kB / 451.8 MB, free: 19.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.1927, allocations: 186.8 kB / 452 MB, free: 19.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.1932, allocations: 333.9 kB / 452.3 MB, free: 19.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1932, allocations: 1.156 kB / 452.3 MB, free: 19.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007234/0.194, allocations: 448.7 kB / 452.8 MB, free: 18.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.194, allocations: 5.781 kB / 452.8 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.194, allocations: 6.688 kB / 452.8 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.194, allocations: 4.234 kB / 452.8 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.1943, allocations: 89.81 kB / 452.9 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1943, allocations: 7.875 kB / 452.9 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1944, allocations: 14.98 kB / 452.9 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.1945, allocations: 18.86 kB / 452.9 MB, free: 18.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002204/0.1947, allocations: 237.6 kB / 453.1 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/0.1948, allocations: 66.64 kB / 453.2 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000945/0.1957, allocations: 0.5277 MB / 453.7 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.1957, allocations: 10.23 kB / 453.7 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1957, allocations: 1.375 kB / 453.7 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.1958, allocations: 4.047 kB / 453.7 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.1973, allocations: 1.24 MB / 455 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.1973, allocations: 4.719 kB / 455 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.1975, allocations: 62.78 kB / 455 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.1975, allocations: 5 kB / 455 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.1976, allocations: 20.03 kB / 455.1 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.1976, allocations: 4.422 kB / 455.1 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.1976, allocations: 11 kB / 455.1 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008131/0.1984, allocations: 0.8229 MB / 455.9 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.1985, allocations: 103.5 kB / 456 MB, free: 17.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.1986, allocations: 16.77 kB / 456 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.1989, allocations: 19.81 kB / 456 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.199, allocations: 45.53 kB / 456.1 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.199, allocations: 23.66 kB / 456.1 MB, free: 17.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007367/0.1998, allocations: 0.5943 MB / 456.7 MB, free: 16.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1998, allocations: 0.9688 kB / 456.7 MB, free: 16.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005961/0.2004, allocations: 89.81 kB / 456.8 MB, free: 16.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002095/0.2025, allocations: 0.5801 MB / 457.4 MB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007042/0.2032, allocations: 317.8 kB / 457.7 MB, free: 16.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2032, allocations: 1.406 kB / 457.7 MB, free: 16.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.2035, allocations: 157.1 kB / 457.8 MB, free: 16.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/0.2044, allocations: 125.3 kB / 458 MB, free: 16.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.2059, allocations: 1.097 MB / 459.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.2062, allocations: 292.5 kB / 459.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.2064, allocations: 80.58 kB / 459.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.2065, allocations: 54.34 kB / 459.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2065, allocations: 0 / 459.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Templates: time 0.01353/0.2201, allocations: 5.707 MB / 465.2 MB, free: 14.9 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7205481715500355]