Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001654/0.001654, allocations: 84.55 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.001609/0.001609, allocations: 163.9 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.38/1.38, allocations: 177.1 MB / 204.3 MB, free: 9.172 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.2015/0.2015, allocations: 32.81 MB / 293.5 MB, free: 32 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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 440.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.776e-05, allocations: 2.281 kB / 440.2 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003548/0.003576, allocations: 2.164 MB / 442.4 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.005865, allocations: 1.274 MB / 443.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.00597, allocations: 3.938 kB / 443.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.006359, allocations: 143.3 kB / 443.8 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005491/0.006908, allocations: 266.8 kB / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.007281, allocations: 199.3 kB / 444.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005617/0.007843, allocations: 474.5 kB / 444.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.007979, allocations: 41.25 kB / 444.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.008453, allocations: 383.1 kB / 445.1 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.008668, allocations: 151.5 kB / 445.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.008716, allocations: 16 kB / 445.3 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.008868, allocations: 75.91 kB / 445.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.009054, allocations: 159.4 kB / 445.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.009179, allocations: 99.5 kB / 445.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.009718, allocations: 470.2 kB / 446.1 MB, free: 2.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.009722, allocations: 0 / 446.1 MB, free: 2.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.009722, allocations: 0 / 446.1 MB, free: 2.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.009734, allocations: 0 / 446.1 MB, free: 2.152 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.001249/0.01098, allocations: 0.834 MB / 446.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.01102, allocations: 11.98 kB / 446.9 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.01114, allocations: 76.42 kB / 447 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.01166, allocations: 378.2 kB / 447.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.01168, allocations: 8.375 kB / 447.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.01172, allocations: 20.33 kB / 447.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.01212, allocations: 190.1 kB / 447.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.01214, allocations: 7.938 kB / 447.6 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.01216, allocations: 3.984 kB / 447.6 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.01217, allocations: 8 kB / 447.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.01242, allocations: 103.9 kB / 447.7 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1773/0.1898, allocations: 0.7427 MB / 448.4 MB, free: 21.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.1904, allocations: 240.8 kB / 448.7 MB, free: 21.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1906, allocations: 89.39 kB / 448.8 MB, free: 21.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1906, allocations: 4.531 kB / 448.8 MB, free: 21.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003629/0.191, allocations: 215.6 kB / 449 MB, free: 21.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.385e-06/0.191, allocations: 1.438 kB / 449 MB, free: 21.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002325/0.1933, allocations: 1.23 MB / 450.2 MB, free: 20.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1933, allocations: 133.9 kB / 450.3 MB, free: 20.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009247/0.1942, allocations: 0.9727 MB / 451.3 MB, free: 20.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1943, allocations: 41.62 kB / 451.3 MB, free: 20.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1944, allocations: 284.8 kB / 451.6 MB, free: 19.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.013e-05/0.1945, allocations: 143.3 kB / 451.8 MB, free: 19.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.1946, allocations: 77.69 kB / 451.8 MB, free: 19.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.1946, allocations: 324.3 kB / 452.2 MB, free: 19.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.1949, allocations: 115.7 kB / 452.3 MB, free: 19.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.1951, allocations: 195.8 kB / 452.5 MB, free: 19.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.1956, allocations: 328.4 kB / 452.8 MB, free: 19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1956, allocations: 1.219 kB / 452.8 MB, free: 19 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007167/0.1963, allocations: 460.3 kB / 453.2 MB, free: 18.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1963, allocations: 11.12 kB / 453.2 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1963, allocations: 1.375 kB / 453.2 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1963, allocations: 7.875 kB / 453.2 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.1966, allocations: 89.81 kB / 453.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1966, allocations: 4.828 kB / 453.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.1968, allocations: 14.92 kB / 453.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.1968, allocations: 18.88 kB / 453.4 MB, free: 18.79 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.0002364/0.197, allocations: 262.8 kB / 453.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/0.1971, allocations: 79 kB / 453.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009182/0.198, allocations: 0.5314 MB / 454.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.198, allocations: 10.25 kB / 454.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.198, allocations: 4.438 kB / 454.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1981, allocations: 3.953 kB / 454.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.1995, allocations: 1.273 MB / 455.5 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1995, allocations: 3.625 kB / 455.5 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.1997, allocations: 62.45 kB / 455.6 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1997, allocations: 6.25 kB / 455.6 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.1997, allocations: 19.75 kB / 455.6 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.1998, allocations: 4.859 kB / 455.6 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.1998, allocations: 13.56 kB / 455.6 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/0.2006, allocations: 0.828 MB / 456.5 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.2008, allocations: 115.5 kB / 456.6 MB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.2009, allocations: 17.22 kB / 456.6 MB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.2012, allocations: 20.48 kB / 456.6 MB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.2013, allocations: 41.11 kB / 456.7 MB, free: 16.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.2013, allocations: 24.83 kB / 456.7 MB, free: 16.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008289/0.2021, allocations: 0.7152 MB / 457.4 MB, free: 16.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2021, allocations: 0 / 457.4 MB, free: 16.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000547/0.2027, allocations: 90.41 kB / 457.5 MB, free: 16.66 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.00207/0.2048, allocations: 0.5788 MB / 458.1 MB, free: 16.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006084/0.2054, allocations: 316.3 kB / 458.4 MB, free: 16.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2054, allocations: 1.375 kB / 458.4 MB, free: 16.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.2057, allocations: 163 kB / 458.5 MB, free: 16.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/0.2066, allocations: 135.8 kB / 458.7 MB, free: 16.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.2081, allocations: 1.233 MB / 459.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.2085, allocations: 324.9 kB / 460.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.2087, allocations: 80.28 kB / 460.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2088, allocations: 54.44 kB / 460.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2088, allocations: 0 / 460.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Templates: time 0.01101/0.2198, allocations: 5.745 MB / 466.1 MB, free: 14.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.69736535102129]