Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=600,variableFilter="PSignal.height|PSignal.offset|PSignal.startTime|QSignal.height|QSignal.offset|QSignal.startTime|bus1.ERef|bus1.PStart|bus1.QStart|bus1.R|bus1.SNom|bus1.UNom|bus1.UPhaseStart|bus1.URef|bus1.UStart|bus1.X|bus1.Z.im|bus1.Z.re|bus1.i.im|bus1.i.re|bus1.localInit|bus1.port.IBase|bus1.port.IStart|bus1.port.PStart|bus1.port.QStart|bus1.port.SBase|bus1.port.SNom|bus1.port.UBase|bus1.port.UNom|bus1.port.UPhaseStart|bus1.port.UStart|bus1.port.VBase|bus1.port.VStart|bus1.port.i.im|bus1.port.i.re|bus1.port.iStart.im|bus1.port.iStart.re|bus1.port.portVariablesPhases|bus1.port.v.im|bus1.port.v.re|bus1.port.vStart.im|bus1.port.vStart.re|bus1.portVariablesPhases|bus1.theta|bus1.v.im|bus1.v.re|bus2.ERef|bus2.PStart|bus2.QStart|bus2.R|bus2.SNom|bus2.UNom|bus2.UPhaseStart|bus2.URef|bus2.UStart|bus2.X|bus2.Z.im|bus2.Z.re|bus2.i.im|bus2.i.re|bus2.localInit|bus2.port.IBase|bus2.port.IStart|bus2.port.PStart|bus2.port.QStart|bus2.port.SBase|bus2.port.SNom|bus2.port.UBase|bus2.port.UNom|bus2.port.UPhaseStart|bus2.port.UStart|bus2.port.VBase|bus2.port.VStart|bus2.port.i.im|bus2.port.i.re|bus2.port.iStart.im|bus2.port.iStart.re|bus2.port.portVariablesPhases|bus2.port.v.im|bus2.port.v.re|bus2.port.vStart.im|bus2.port.vStart.re|bus2.portVariablesPhases|bus2.theta|bus2.v.im|bus2.v.re|load1.PRefConst|load1.PStart|load1.QRefConst|load1.QStart|load1.SNom|load1.UNom|load1.UPhaseStart|load1.URef|load1.UStart|load1.alpha|load1.beta|load1.localInit|load1.port.IBase|load1.port.IStart|load1.port.PStart|load1.port.QStart|load1.port.SBase|load1.port.SNom|load1.port.UBase|load1.port.UNom|load1.port.UPhaseStart|load1.port.UStart|load1.port.VBase|load1.port.VStart|load1.port.i.im|load1.port.i.re|load1.port.iStart.im|load1.port.iStart.re|load1.port.portVariablesPhases|load1.port.v.im|load1.port.v.re|load1.port.vStart.im|load1.port.vStart.re|load1.portVariablesPhases|load2.PRefConst|load2.PStart|load2.QRefConst|load2.QStart|load2.SNom|load2.UNom|load2.UPhaseStart|load2.URef|load2.UStart|load2.alpha|load2.beta|load2.localInit|load2.port.IBase|load2.port.IStart|load2.port.PStart|load2.port.QStart|load2.port.SBase|load2.port.SNom|load2.port.UBase|load2.port.UNom|load2.port.UPhaseStart|load2.port.UStart|load2.port.VBase|load2.port.VStart|load2.port.i.im|load2.port.i.re|load2.port.iStart.im|load2.port.iStart.re|load2.port.portVariablesPhases|load2.port.v.im|load2.port.v.re|load2.port.vStart.im|load2.port.vStart.re|load2.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=600,variableFilter="PSignal.height|PSignal.offset|PSignal.startTime|QSignal.height|QSignal.offset|QSignal.startTime|bus1.ERef|bus1.PStart|bus1.QStart|bus1.R|bus1.SNom|bus1.UNom|bus1.UPhaseStart|bus1.URef|bus1.UStart|bus1.X|bus1.Z.im|bus1.Z.re|bus1.i.im|bus1.i.re|bus1.localInit|bus1.port.IBase|bus1.port.IStart|bus1.port.PStart|bus1.port.QStart|bus1.port.SBase|bus1.port.SNom|bus1.port.UBase|bus1.port.UNom|bus1.port.UPhaseStart|bus1.port.UStart|bus1.port.VBase|bus1.port.VStart|bus1.port.i.im|bus1.port.i.re|bus1.port.iStart.im|bus1.port.iStart.re|bus1.port.portVariablesPhases|bus1.port.v.im|bus1.port.v.re|bus1.port.vStart.im|bus1.port.vStart.re|bus1.portVariablesPhases|bus1.theta|bus1.v.im|bus1.v.re|bus2.ERef|bus2.PStart|bus2.QStart|bus2.R|bus2.SNom|bus2.UNom|bus2.UPhaseStart|bus2.URef|bus2.UStart|bus2.X|bus2.Z.im|bus2.Z.re|bus2.i.im|bus2.i.re|bus2.localInit|bus2.port.IBase|bus2.port.IStart|bus2.port.PStart|bus2.port.QStart|bus2.port.SBase|bus2.port.SNom|bus2.port.UBase|bus2.port.UNom|bus2.port.UPhaseStart|bus2.port.UStart|bus2.port.VBase|bus2.port.VStart|bus2.port.i.im|bus2.port.i.re|bus2.port.iStart.im|bus2.port.iStart.re|bus2.port.portVariablesPhases|bus2.port.v.im|bus2.port.v.re|bus2.port.vStart.im|bus2.port.vStart.re|bus2.portVariablesPhases|bus2.theta|bus2.v.im|bus2.v.re|load1.PRefConst|load1.PStart|load1.QRefConst|load1.QStart|load1.SNom|load1.UNom|load1.UPhaseStart|load1.URef|load1.UStart|load1.alpha|load1.beta|load1.localInit|load1.port.IBase|load1.port.IStart|load1.port.PStart|load1.port.QStart|load1.port.SBase|load1.port.SNom|load1.port.UBase|load1.port.UNom|load1.port.UPhaseStart|load1.port.UStart|load1.port.VBase|load1.port.VStart|load1.port.i.im|load1.port.i.re|load1.port.iStart.im|load1.port.iStart.re|load1.port.portVariablesPhases|load1.port.v.im|load1.port.v.re|load1.port.vStart.im|load1.port.vStart.re|load1.portVariablesPhases|load2.PRefConst|load2.PStart|load2.QRefConst|load2.QStart|load2.SNom|load2.UNom|load2.UPhaseStart|load2.URef|load2.UStart|load2.alpha|load2.beta|load2.localInit|load2.port.IBase|load2.port.IStart|load2.port.PStart|load2.port.QStart|load2.port.SBase|load2.port.SNom|load2.port.UBase|load2.port.UNom|load2.port.UPhaseStart|load2.port.UStart|load2.port.VBase|load2.port.VStart|load2.port.i.im|load2.port.i.re|load2.port.iStart.im|load2.port.iStart.re|load2.port.portVariablesPhases|load2.port.v.im|load2.port.v.re|load2.port.vStart.im|load2.port.vStart.re|load2.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 107.3 kB / 16.42 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 191.3 kB / 17.36 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06112/0.06112, allocations: 14.17 MB / 284.8 MB, free: 13.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.709e-05, allocations: 2.984 kB / 397.1 MB, free: 43.92 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.006448/0.006483, allocations: 6.929 MB / 404 MB, free: 38.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005286/0.01179, allocations: 3.416 MB / 407.5 MB, free: 35.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.01238, allocations: 16.47 kB / 407.5 MB, free: 35.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.0133, allocations: 378.1 kB / 407.8 MB, free: 35.69 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003018/0.01638, allocations: 1.498 MB / 409.3 MB, free: 34.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.01694, allocations: 318.2 kB / 409.7 MB, free: 34.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.01907, allocations: 2.179 MB / 411.8 MB, free: 32.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.01932, allocations: 124.9 kB / 412 MB, free: 32.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006517/0.01998, allocations: 0.6703 MB / 412.6 MB, free: 32.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005721/0.02056, allocations: 0.7119 MB / 413.3 MB, free: 31.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.02062, allocations: 44 kB / 413.4 MB, free: 31.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007097/0.02134, allocations: 367.8 kB / 413.7 MB, free: 31.14 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0009624/0.02231, allocations: 2.061 MB / 415.8 MB, free: 29.06 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004761/0.0228, allocations: 1.256 MB / 417.1 MB, free: 27.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.02293, allocations: 155.6 kB / 417.2 MB, free: 27.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001992/0.02314, allocations: 95.77 kB / 417.3 MB, free: 27.54 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: 168 (126) * Number of variables: 168 (168) Notification: Performance of Bindings: time 0.003665/0.02681, allocations: 6.212 MB / 423.5 MB, free: 21.16 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003292/0.02714, allocations: 447.1 kB / 424 MB, free: 20.71 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002205/0.02936, allocations: 2.974 MB / 426.9 MB, free: 17.69 MB / 318.1 MB Notification: Performance of simplify1: time 0.000112/0.02948, allocations: 175.8 kB / 427.1 MB, free: 17.52 MB / 318.1 MB Notification: Performance of Alias: time 0.002186/0.03167, allocations: 2.58 MB / 429.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001075/0.03179, allocations: 159.8 kB / 429.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of Events: time 0.0002385/0.03204, allocations: 328.2 kB / 430.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003308/0.03238, allocations: 0.5511 MB / 430.7 MB, free: 13.62 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0007152/0.0331, allocations: 0.9256 MB / 431.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of Causalize: time 0.003347/0.03645, allocations: 4.063 MB / 435.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.00117/0.03763, allocations: 1.698 MB / 437.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of Inline: time 0.003145/0.04079, allocations: 4.18 MB / 441.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001867/0.04099, allocations: 207.6 kB / 441.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001237/0.04112, allocations: 139.8 kB / 441.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of Causalize: time 0.006477/0.0476, allocations: 5.666 MB / 447.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Tearing: time 0.002204/0.04982, allocations: 2.062 MB / 449.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Initialization: time 1.152e-06/0.04984, allocations: 0 / 449.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Tearing: time 0.002202/0.05205, allocations: 2.059 MB / 451.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of Categorize: time 5.431e-05/0.05212, allocations: 7.984 kB / 451.7 MB, free: 8.215 MB / 334.1 MB Notification: Performance of Solve: time 0.0009706/0.0531, allocations: 483.5 kB / 452.2 MB, free: 7.734 MB / 334.1 MB Notification: Performance of Jacobian: time 6.322e-06/0.05311, allocations: 3.984 kB / 452.2 MB, free: 7.73 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: ......... 2 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 96 (scalar:96, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 135 (scalar:135, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 7.992e-05/0.0532, allocations: 46.92 kB / 452.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of SimCode: time 0.006349/0.05955, allocations: 4.942 MB / 457.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of Templates: time 0.02266/0.08223, allocations: 13.41 MB / 470.6 MB, free: 5.27 MB / 350.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches