Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.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.001361/0.001361, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001488/0.001488, allocations: 215.2 kB / 23.06 MB, free: 4.984 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.527/1.527, allocations: 230.7 MB / 256.9 MB, free: 7.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0832/0.0832, allocations: 16.94 MB / 330.2 MB, free: 2.371 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="Ntap|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax") translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="Ntap|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.184e-05, allocations: 2.281 kB / 462.8 MB, free: 200 kB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicMax): time 0.002697/0.002719, allocations: 1.446 MB / 464.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.003824, allocations: 0.491 MB / 464.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.003866, allocations: 0 / 464.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.003887, allocations: 7.875 kB / 464.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.851e-05/0.003975, allocations: 15.92 kB / 464.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.004192, allocations: 79.77 kB / 464.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.004397, allocations: 191.6 kB / 465.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.004449, allocations: 4 kB / 465.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.004587, allocations: 99.78 kB / 465.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.004707, allocations: 75.73 kB / 465.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.004748, allocations: 12 kB / 465.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.48e-05/0.004783, allocations: 16 kB / 465.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0002544/0.005037, allocations: 266.3 kB / 465.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 7.026e-05/0.005108, allocations: 86.89 kB / 465.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.005155, allocations: 16 kB / 465.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.057e-06/0.005164, allocations: 4 kB / 465.6 MB, free: 13.38 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (10) * Number of variables: 10 (10) Notification: Performance of [SIM] Bindings: time 0.001198/0.006363, allocations: 0.9995 MB / 466.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000154/0.006517, allocations: 143.7 kB / 466.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.001228/0.007744, allocations: 1.26 MB / 468 MB, free: 10.82 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000291/0.008035, allocations: 216.4 kB / 468.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.000813/0.008848, allocations: 0.6168 MB / 468.9 MB, free: 9.887 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002543/0.009103, allocations: 220.6 kB / 469.1 MB, free: 9.625 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001762/0.009279, allocations: 168.2 kB / 469.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0005565/0.009835, allocations: 466 kB / 469.7 MB, free: 8.922 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0006995/0.01053, allocations: 465.9 kB / 470.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005317/0.01107, allocations: 467.9 kB / 470.6 MB, free: 8.016 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.0008809/0.01195, allocations: 0.6316 MB / 471.2 MB, free: 7.379 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009795/0.01293, allocations: 1.069 MB / 472.3 MB, free: 6.309 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.0005816/0.01351, allocations: 381.2 kB / 472.7 MB, free: 5.863 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.001068/0.01458, allocations: 1.105 MB / 473.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 3.934e-05/0.01462, allocations: 22.75 kB / 473.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0001704/0.01479, allocations: 191.7 kB / 474 MB, free: 4.535 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.001748/0.01653, allocations: 1.247 MB / 475.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 2.626e-05/0.01656, allocations: 24 kB / 475.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 5.11e-07/0.01656, allocations: 0 / 475.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.803e-05/0.01661, allocations: 28.12 kB / 475.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.473e-06/0.01662, allocations: 0 / 475.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 1.615e-05/0.01663, allocations: 20 kB / 475.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 1.005e-05/0.01664, allocations: 4 kB / 475.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.0003796/0.01702, allocations: 254.3 kB / 475.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 8.606e-06/0.01703, allocations: 0 / 475.6 MB, free: 2.941 MB / 334.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 4 (4) {tTapMoved, tap, state, tValueAboveMaxWhileRunning} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 38 (38) {locked, running, lookingToIncreaseTap, lookingToDecreaseTap, valueUnderStop, valueAboveMax, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 38 (scalar:38, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 53 (scalar:53, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001312/0.01716, allocations: 41.8 kB / 475.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006702/0.01783, allocations: 440.7 kB / 476 MB, free: 2.457 MB / 334.1 MB Notification: Performance of Templates: time 0.005384/0.02321, allocations: 2.261 MB / 478.3 MB, free: 224 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Ntap,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time Variables in the result:Ntap,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time [Calling sys.exit(0), Time elapsed: 4.609417899977416]