Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001316/0.001316, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 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.001444/0.001444, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2685/0.2685, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.038e-05, allocations: 6.312 kB / 378.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002803/0.002834, allocations: 2.268 MB / 380.4 MB, free: 260 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.004937, allocations: 1.298 MB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.005092, allocations: 3.938 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005244/0.005616, allocations: 131.2 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006365/0.006252, allocations: 250.8 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.006674, allocations: 195.4 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.007181, allocations: 470.5 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.007333, allocations: 45.25 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003839/0.007716, allocations: 355.1 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.007872, allocations: 135.5 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.007905, allocations: 16 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.00805, allocations: 67.92 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.008171, allocations: 147.5 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.195e-05/0.008263, allocations: 95.58 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.008671, allocations: 346.4 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.008678, allocations: 4 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.008679, allocations: 0 / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.008687, allocations: 0 / 383.9 MB, free: 12.72 MB / 362.7 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.00088/0.009567, allocations: 0.8759 MB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.009617, allocations: 8.031 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.00974, allocations: 76.52 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.01015, allocations: 357.2 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.01018, allocations: 8.375 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.01022, allocations: 20.36 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.01052, allocations: 181.6 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.01054, allocations: 15.88 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.01056, allocations: 4 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.01057, allocations: 0 / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/0.01067, allocations: 71.84 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007629/0.01143, allocations: 0.9297 MB / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.01183, allocations: 232.4 kB / 386.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.237e-05/0.01192, allocations: 78.84 kB / 386.8 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.01194, allocations: 4 kB / 386.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.01218, allocations: 201.4 kB / 387 MB, free: 9.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.01218, allocations: 0 / 387 MB, free: 9.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001565/0.01375, allocations: 1.046 MB / 388 MB, free: 8.391 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.01381, allocations: 140.5 kB / 388.1 MB, free: 8.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/0.01464, allocations: 0.6559 MB / 388.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.01467, allocations: 37.7 kB / 388.8 MB, free: 7.504 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.01483, allocations: 311.7 kB / 389.1 MB, free: 7.195 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.01494, allocations: 150.8 kB / 389.3 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.01503, allocations: 87.8 kB / 389.4 MB, free: 6.953 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.01522, allocations: 0.5625 MB / 389.9 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.01533, allocations: 68.95 kB / 390 MB, free: 6.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.01547, allocations: 158.4 kB / 390.2 MB, free: 6.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.01574, allocations: 257.6 kB / 390.4 MB, free: 5.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01574, allocations: 0 / 390.4 MB, free: 5.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004424/0.01618, allocations: 376.8 kB / 390.8 MB, free: 5.469 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.01621, allocations: 9.875 kB / 390.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.01621, allocations: 0 / 390.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.01623, allocations: 8 kB / 390.8 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.0164, allocations: 87.84 kB / 390.9 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.01641, allocations: 7.984 kB / 390.9 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.01649, allocations: 16.12 kB / 390.9 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.01652, allocations: 19.98 kB / 390.9 MB, free: 5.324 MB / 362.7 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.0001349/0.01665, allocations: 194.9 kB / 391.1 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.01672, allocations: 83.52 kB / 391.2 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005033/0.01722, allocations: 435.8 kB / 391.6 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.01723, allocations: 8 kB / 391.6 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01724, allocations: 0 / 391.6 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.01725, allocations: 7.984 kB / 391.6 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.01844, allocations: 1.386 MB / 393 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.01845, allocations: 7.938 kB / 393 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.01856, allocations: 63.92 kB / 393.1 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.01856, allocations: 4 kB / 393.1 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.01859, allocations: 19.98 kB / 393.1 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.01859, allocations: 4 kB / 393.1 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.0186, allocations: 8.234 kB / 393.1 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.01923, allocations: 0.9733 MB / 394.1 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.01934, allocations: 95.52 kB / 394.2 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.01938, allocations: 16 kB / 394.2 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.01953, allocations: 19.92 kB / 394.2 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.0196, allocations: 47.88 kB / 394.3 MB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.01964, allocations: 23.98 kB / 394.3 MB, free: 1.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003129/0.01995, allocations: 443 kB / 394.7 MB, free: 1.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01995, allocations: 0 / 394.7 MB, free: 1.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004063/0.02036, allocations: 87.94 kB / 394.8 MB, free: 1.273 MB / 362.7 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.00128/0.02164, allocations: 0.4993 MB / 395.3 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005303/0.02217, allocations: 252.5 kB / 395.6 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.02217, allocations: 0 / 395.6 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.02234, allocations: 140.4 kB / 395.7 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/0.02306, allocations: 145 kB / 395.8 MB, free: 436 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.02464, allocations: 0.9452 MB / 396.8 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.02475, allocations: 154 kB / 396.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.02493, allocations: 79.25 kB / 397 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.02504, allocations: 64.47 kB / 397.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.044e-06/0.02504, allocations: 0 / 397.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of Templates: time 0.01243/0.03746, allocations: 6.211 MB / 403.3 MB, free: 8.984 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.420975332148373]