Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001613/0.001613, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001867/0.001867, allocations: 216.5 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 207.7 MB / 233.9 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06537/0.06537, allocations: 14.4 MB / 300.6 MB, free: 7.293 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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_PowerGrids.Electrical.Test.TestTapChangerLogicMax") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.093e-05, allocations: 4.25 kB / 423.6 MB, free: 36.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicMax): time 0.002292/0.002313, allocations: 1.428 MB / 425 MB, free: 35.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.003253, allocations: 0.5037 MB / 425.5 MB, free: 35.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.003302, allocations: 0 / 425.5 MB, free: 35.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.003323, allocations: 7.922 kB / 425.5 MB, free: 35.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.003425, allocations: 15.88 kB / 425.5 MB, free: 35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.00364, allocations: 79.81 kB / 425.6 MB, free: 34.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.003805, allocations: 187.6 kB / 425.8 MB, free: 34.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.003862, allocations: 11.98 kB / 425.8 MB, free: 34.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.00397, allocations: 99.78 kB / 425.9 MB, free: 34.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.736e-05/0.004067, allocations: 75.73 kB / 426 MB, free: 34.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.004108, allocations: 16 kB / 426 MB, free: 34.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.547e-05/0.004144, allocations: 15.94 kB / 426 MB, free: 34.52 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002001/0.004344, allocations: 254.5 kB / 426.2 MB, free: 34.27 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 4.019e-05/0.004384, allocations: 82.95 kB / 426.3 MB, free: 34.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.004441, allocations: 16 kB / 426.3 MB, free: 34.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.105e-05/0.004452, allocations: 0 / 426.3 MB, free: 34.18 MB / 318.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.0008455/0.005297, allocations: 1.015 MB / 427.4 MB, free: 33.04 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001228/0.00542, allocations: 135.8 kB / 427.5 MB, free: 32.89 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007138/0.006134, allocations: 1.256 MB / 428.7 MB, free: 31.61 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001885/0.006322, allocations: 216.4 kB / 429 MB, free: 31.35 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0006138/0.006936, allocations: 0.6246 MB / 429.6 MB, free: 30.67 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001604/0.007097, allocations: 216.6 kB / 429.8 MB, free: 30.41 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001062/0.007203, allocations: 164.2 kB / 429.9 MB, free: 30.22 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0003555/0.007558, allocations: 465.8 kB / 430.4 MB, free: 29.71 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0005536/0.008112, allocations: 480.3 kB / 430.9 MB, free: 29.27 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003649/0.008477, allocations: 471.7 kB / 431.3 MB, free: 28.8 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0006092/0.009086, allocations: 0.6384 MB / 432 MB, free: 28.15 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005841/0.00967, allocations: 1.069 MB / 433 MB, free: 27.08 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.000401/0.01007, allocations: 348.3 kB / 433.4 MB, free: 26.67 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0006118/0.01068, allocations: 1.106 MB / 434.5 MB, free: 25.56 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 2.929e-05/0.01071, allocations: 22.75 kB / 434.5 MB, free: 25.53 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 9.737e-05/0.01081, allocations: 195.6 kB / 434.7 MB, free: 25.34 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.001228/0.01204, allocations: 1.235 MB / 435.9 MB, free: 24.09 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 1.961e-05/0.01206, allocations: 28 kB / 436 MB, free: 24.06 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.01206, allocations: 0 / 436 MB, free: 24.06 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.052e-05/0.01208, allocations: 24.12 kB / 436 MB, free: 24.03 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.829e-06/0.01208, allocations: 3.938 kB / 436 MB, free: 24.02 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 7.665e-06/0.01209, allocations: 24 kB / 436 MB, free: 24 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 6.813e-06/0.0121, allocations: 0 / 436 MB, free: 24 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.0002704/0.01237, allocations: 266.2 kB / 436.3 MB, free: 23.74 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 9.789e-06/0.01238, allocations: 4 kB / 436.3 MB, free: 23.74 MB / 318.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 8.22e-05/0.01246, allocations: 42.47 kB / 436.3 MB, free: 23.7 MB / 318.1 MB Notification: Performance of SimCode: time 0.00047/0.01293, allocations: 446.5 kB / 436.8 MB, free: 23.25 MB / 318.1 MB Notification: Performance of Templates: time 0.004307/0.01724, allocations: 2.263 MB / 439 MB, free: 21 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_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_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.809475045010913]