Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.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.OneBusImpedanceVariableVoltageOneLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=600,variableFilter="UMod.height|UMod.offset|UMod.startTime|UPhase.height|UPhase.offset|UPhase.startTime|bus1.PStart|bus1.QStart|bus1.R|bus1.SNom|bus1.UFixed|bus1.UNom|bus1.UPhaseStart|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.thetaFixed|bus1.useThetaIn|bus1.useUIn|bus1.v.im|bus1.v.re|load1.PRef|load1.PRefConst|load1.PStart|load1.QRef|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|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=600,variableFilter="UMod.height|UMod.offset|UMod.startTime|UPhase.height|UPhase.offset|UPhase.startTime|bus1.PStart|bus1.QStart|bus1.R|bus1.SNom|bus1.UFixed|bus1.UNom|bus1.UPhaseStart|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.thetaFixed|bus1.useThetaIn|bus1.useUIn|bus1.v.im|bus1.v.re|load1.PRef|load1.PRefConst|load1.PStart|load1.QRef|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|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 115.3 kB / 16.43 MB, free: 6.523 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.001839/0.001839, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.682/1.682, 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.06443/0.06443, allocations: 14.17 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.508e-05/3.51e-05, allocations: 2.281 kB / 397.1 MB, free: 43.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.00574/0.005784, allocations: 4.305 MB / 401.4 MB, free: 40.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003503/0.009306, allocations: 2.482 MB / 403.9 MB, free: 38.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003524/0.009677, allocations: 14.66 kB / 403.9 MB, free: 38.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000704/0.01039, allocations: 244 kB / 404.2 MB, free: 38.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.01259, allocations: 1.147 MB / 405.3 MB, free: 37.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.01304, allocations: 261.1 kB / 405.6 MB, free: 37.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.01422, allocations: 1.116 MB / 406.7 MB, free: 36.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.01441, allocations: 77.97 kB / 406.7 MB, free: 36.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000437/0.01485, allocations: 360.6 kB / 407.1 MB, free: 36.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.01528, allocations: 375.2 kB / 407.5 MB, free: 36.37 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.065e-05/0.01535, allocations: 23.47 kB / 407.5 MB, free: 36.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000744/0.0161, allocations: 298.5 kB / 407.8 MB, free: 36.26 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007559/0.01686, allocations: 1.069 MB / 408.9 MB, free: 35.48 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004289/0.0173, allocations: 0.6687 MB / 409.5 MB, free: 34.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.01743, allocations: 85.41 kB / 409.6 MB, free: 34.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001644/0.0176, allocations: 40.45 kB / 409.6 MB, free: 34.93 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: 89 (68) * Number of variables: 89 (89) Notification: Performance of Bindings: time 0.00242/0.02003, allocations: 3.299 MB / 412.9 MB, free: 31.83 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001569/0.02019, allocations: 155.6 kB / 413.1 MB, free: 31.68 MB / 318.1 MB Notification: Performance of Early Inline: time 0.00115/0.02135, allocations: 1.553 MB / 414.6 MB, free: 30.09 MB / 318.1 MB Notification: Performance of simplify1: time 6.332e-05/0.02142, allocations: 95.89 kB / 414.7 MB, free: 30 MB / 318.1 MB Notification: Performance of Alias: time 0.001349/0.02278, allocations: 1.47 MB / 416.2 MB, free: 28.37 MB / 318.1 MB Notification: Performance of simplify2: time 6.315e-05/0.02286, allocations: 83.91 kB / 416.3 MB, free: 28.29 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002014/0.02307, allocations: 297.5 kB / 416.6 MB, free: 27.98 MB / 318.1 MB Notification: Performance of Events: time 0.0001128/0.02319, allocations: 95.86 kB / 416.7 MB, free: 27.88 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003635/0.02356, allocations: 485.8 kB / 417.2 MB, free: 27.39 MB / 318.1 MB Notification: Performance of Causalize: time 0.001724/0.02529, allocations: 2.082 MB / 419.2 MB, free: 25.29 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005762/0.02587, allocations: 0.8861 MB / 420.1 MB, free: 24.38 MB / 318.1 MB Notification: Performance of Inline: time 0.001841/0.02772, allocations: 2.249 MB / 422.4 MB, free: 22.1 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001019/0.02784, allocations: 107.6 kB / 422.5 MB, free: 21.98 MB / 318.1 MB Notification: Performance of Cleanup: time 5.455e-05/0.0279, allocations: 75.92 kB / 422.5 MB, free: 21.91 MB / 318.1 MB Notification: Performance of Causalize: time 0.002466/0.03037, allocations: 2.92 MB / 425.5 MB, free: 18.98 MB / 318.1 MB Notification: Performance of Tearing: time 0.002194/0.03257, allocations: 2.28 MB / 427.7 MB, free: 16.65 MB / 318.1 MB Notification: Performance of Initialization: time 1.242e-06/0.03259, allocations: 0 / 427.7 MB, free: 16.65 MB / 318.1 MB Notification: Performance of Tearing: time 0.001875/0.03447, allocations: 2.251 MB / 430 MB, free: 14.35 MB / 318.1 MB Notification: Performance of Categorize: time 2.329e-05/0.03451, allocations: 0 / 430 MB, free: 14.35 MB / 318.1 MB Notification: Performance of Solve: time 0.0004041/0.03492, allocations: 246.5 kB / 430.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of Jacobian: time 3.106e-06/0.03493, allocations: 0 / 430.2 MB, free: 14.1 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: ......... 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: ................. 3 (3) {$SEV_0, $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: ........... 49 (scalar:49, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 72 (scalar:72, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 4.896e-05/0.03498, allocations: 34.7 kB / 430.3 MB, free: 14.07 MB / 318.1 MB Notification: Performance of SimCode: time 0.002567/0.03755, allocations: 3.043 MB / 433.3 MB, free: 11 MB / 318.1 MB Notification: Performance of Templates: time 0.0107/0.04827, allocations: 7.678 MB / 441 MB, free: 3.332 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches