Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001581/0.001581, allocations: 103.4 kB / 20.52 MB, free: 1.148 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.00182/0.00182, allocations: 215.7 kB / 23.82 MB, free: 4.336 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.507/1.507, allocations: 207.7 MB / 234.7 MB, free: 9.777 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.06814/0.06814, allocations: 14.39 MB / 301.3 MB, free: 7.207 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_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/1.971e-05, allocations: 2.281 kB / 424.3 MB, free: 36.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicMax): time 0.002156/0.002176, allocations: 1.43 MB / 425.7 MB, free: 35.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008603/0.003036, allocations: 0.5115 MB / 426.3 MB, free: 35.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.003082, allocations: 3.938 kB / 426.3 MB, free: 35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.003101, allocations: 3.938 kB / 426.3 MB, free: 35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.572e-05/0.003177, allocations: 7.875 kB / 426.3 MB, free: 34.99 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.003362, allocations: 79.83 kB / 426.4 MB, free: 34.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.00351, allocations: 191.6 kB / 426.5 MB, free: 34.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.003559, allocations: 7.984 kB / 426.5 MB, free: 34.72 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.003659, allocations: 103.7 kB / 426.6 MB, free: 34.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.003751, allocations: 79.73 kB / 426.7 MB, free: 34.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.003788, allocations: 12 kB / 426.7 MB, free: 34.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.221e-05/0.00382, allocations: 12 kB / 426.8 MB, free: 34.52 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001725/0.003992, allocations: 250.5 kB / 427 MB, free: 34.27 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.688e-05/0.004019, allocations: 90.83 kB / 427.1 MB, free: 34.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.004063, allocations: 16 kB / 427.1 MB, free: 34.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.798e-06/0.004073, allocations: 0 / 427.1 MB, free: 34.16 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.001045/0.005118, allocations: 1.011 MB / 428.1 MB, free: 33.03 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001024/0.00522, allocations: 139.8 kB / 428.2 MB, free: 32.88 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007029/0.005923, allocations: 1.253 MB / 429.5 MB, free: 31.6 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001974/0.006121, allocations: 224.4 kB / 429.7 MB, free: 31.34 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0005737/0.006695, allocations: 0.613 MB / 430.3 MB, free: 30.66 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001505/0.006845, allocations: 224.5 kB / 430.6 MB, free: 30.4 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 9.214e-05/0.006937, allocations: 160.2 kB / 430.7 MB, free: 30.21 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0003399/0.007277, allocations: 461.8 kB / 431.2 MB, free: 29.71 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0005728/0.00785, allocations: 471.7 kB / 431.6 MB, free: 29.27 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003284/0.008178, allocations: 475.7 kB / 432.1 MB, free: 28.8 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0005866/0.008765, allocations: 0.6345 MB / 432.7 MB, free: 28.15 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005361/0.009301, allocations: 1.073 MB / 433.8 MB, free: 27.08 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0003913/0.009692, allocations: 352.3 kB / 434.1 MB, free: 26.66 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0006272/0.01032, allocations: 1.117 MB / 435.3 MB, free: 25.54 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 2.592e-05/0.01035, allocations: 18.75 kB / 435.3 MB, free: 25.52 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 9.406e-05/0.01044, allocations: 195.7 kB / 435.5 MB, free: 25.32 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.001324/0.01176, allocations: 1.229 MB / 436.7 MB, free: 24.08 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 2.469e-05/0.01179, allocations: 32 kB / 436.7 MB, free: 24.05 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 3.41e-07/0.01179, allocations: 3.938 kB / 436.7 MB, free: 24.04 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.463e-05/0.01181, allocations: 24.06 kB / 436.7 MB, free: 24.01 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.903e-06/0.01182, allocations: 0 / 436.7 MB, free: 24.01 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 9.869e-06/0.01183, allocations: 28 kB / 436.8 MB, free: 23.98 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 8.355e-06/0.01184, allocations: 0 / 436.8 MB, free: 23.98 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.000294/0.01213, allocations: 258.3 kB / 437 MB, free: 23.73 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 1.178e-05/0.01214, allocations: 4 kB / 437 MB, free: 23.73 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 5.687e-05/0.0122, allocations: 42.22 kB / 437.1 MB, free: 23.69 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005637/0.01276, allocations: 439.6 kB / 437.5 MB, free: 23.24 MB / 318.1 MB Notification: Performance of Templates: time 0.00453/0.01729, allocations: 2.258 MB / 439.8 MB, free: 21 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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.751039493014105]