Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001391/0.001391, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.00167/0.00167, allocations: 164.8 kB / 24.49 MB, free: 3.453 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.523/1.523, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1854/0.1854, allocations: 29.42 MB / 290.7 MB, free: 3.281 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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) Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 71.89 kB / 431.2 MB, free: 3.227 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4172, allocations: 62.44 MB / 493.6 MB, free: 37.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004246/0.4214, allocations: 3.431 MB / 497.1 MB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.4231, allocations: 1.373 MB / 498.4 MB, free: 34.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.4232, allocations: 10.34 kB / 498.4 MB, free: 34.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007643/0.424, allocations: 255.8 kB / 498.7 MB, free: 34.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005005/0.4245, allocations: 275 kB / 499 MB, free: 34.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.4247, allocations: 111.9 kB / 499.1 MB, free: 34.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.425, allocations: 339 kB / 499.4 MB, free: 34.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.4253, allocations: 120.8 kB / 499.5 MB, free: 34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.4256, allocations: 165.2 kB / 499.7 MB, free: 33.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.4258, allocations: 153 kB / 499.8 MB, free: 33.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.4258, allocations: 15.41 kB / 499.8 MB, free: 33.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.4262, allocations: 271.5 kB / 0.4884 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.757e-05/0.4263, allocations: 96.81 kB / 0.4885 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.4264, allocations: 88.44 kB / 0.4886 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.4268, allocations: 343.7 kB / 0.4889 GB, free: 33.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4268, allocations: 4 kB / 0.4889 GB, free: 33.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4268, allocations: 0 / 0.4889 GB, free: 33.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4268, allocations: 3.938 kB / 0.4889 GB, free: 33.57 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005873/0.4274, allocations: 445.8 kB / 0.4893 GB, free: 33.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4274, allocations: 13.7 kB / 0.4893 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008202/0.4282, allocations: 91.94 kB / 0.4894 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.4285, allocations: 209.7 kB / 0.4896 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4286, allocations: 17.53 kB / 0.4896 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.4286, allocations: 25.66 kB / 0.4897 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.429, allocations: 311.3 kB / 0.49 GB, free: 32.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.429, allocations: 0 / 0.49 GB, free: 32.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.4291, allocations: 11.09 kB / 0.49 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.4291, allocations: 19.39 kB / 0.49 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.4295, allocations: 280.9 kB / 0.4903 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.4307, allocations: 1.186 MB / 0.4914 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.4312, allocations: 194.7 kB / 0.4916 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.596e-05/0.4313, allocations: 55.11 kB / 0.4917 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.4313, allocations: 0 / 0.4917 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.4313, allocations: 41.56 kB / 0.4917 GB, free: 31.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.4313, allocations: 0 / 0.4917 GB, free: 31.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008362/0.4322, allocations: 368.1 kB / 0.492 GB, free: 31.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.4322, allocations: 80.39 kB / 0.4921 GB, free: 31.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.4323, allocations: 189.9 kB / 0.4923 GB, free: 31.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.4323, allocations: 28.58 kB / 0.4923 GB, free: 31.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.4324, allocations: 162.6 kB / 0.4925 GB, free: 31.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.4324, allocations: 49.28 kB / 0.4925 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.4325, allocations: 44.84 kB / 0.4926 GB, free: 31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.514e-05/0.4326, allocations: 324.3 kB / 0.4929 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-05/0.4326, allocations: 53.38 kB / 0.4929 GB, free: 30.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.4328, allocations: 153.5 kB / 0.4931 GB, free: 30.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.433, allocations: 224.6 kB / 0.4933 GB, free: 30.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.433, allocations: 6.844 kB / 0.4933 GB, free: 30.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003559/0.4333, allocations: 261.1 kB / 0.4936 GB, free: 30.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4333, allocations: 5.75 kB / 0.4936 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.4333, allocations: 3.25 kB / 0.4936 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/0.4336, allocations: 47.89 kB / 0.4936 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.4337, allocations: 36.53 kB / 0.4936 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008008/0.4345, allocations: 1.327 MB / 0.4949 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.4346, allocations: 13.97 kB / 0.495 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.4346, allocations: 9.281 kB / 0.495 GB, free: 28.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.4348, allocations: 156.3 kB / 0.4951 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.4348, allocations: 14.28 kB / 0.4951 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.4351, allocations: 191.5 kB / 0.4953 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4351, allocations: 2.938 kB / 0.4953 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4351, allocations: 96 / 0.4953 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4351, allocations: 10.52 kB / 0.4953 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006093/0.4358, allocations: 491.8 kB / 0.4958 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4358, allocations: 0 / 0.4958 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.4358, allocations: 25.03 kB / 0.4958 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.436, allocations: 30.53 kB / 0.4958 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.436, allocations: 0 / 0.4958 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007274/0.4367, allocations: 1.301 MB / 0.4971 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4367, allocations: 3.031 kB / 0.4971 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.437, allocations: 299 kB / 0.4974 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.437, allocations: 18.38 kB / 0.4974 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.4371, allocations: 6.906 kB / 0.4974 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4372, allocations: 10.47 kB / 0.4974 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.4372, allocations: 9.875 kB / 0.4974 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4372, allocations: 3.125 kB / 0.4974 GB, free: 26.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.2e-05/0.4373, allocations: 135 kB / 0.4976 GB, free: 26.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4373, allocations: 0 / 0.4976 GB, free: 26.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.4376, allocations: 51.06 kB / 0.4976 GB, free: 26.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.724e-05/0.4377, allocations: 103.8 kB / 0.4977 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004283/0.4382, allocations: 259.8 kB / 0.498 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4382, allocations: 4 kB / 0.498 GB, free: 26.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.4383, allocations: 172 kB / 0.4981 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.4387, allocations: 38.5 kB / 0.4982 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.4394, allocations: 462.9 kB / 0.4986 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.4395, allocations: 145.7 kB / 0.4988 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.459e-05/0.4396, allocations: 43.33 kB / 0.4988 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.4396, allocations: 17.62 kB / 0.4988 GB, free: 25.91 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4397, allocations: 3.219 kB / 0.4988 GB, free: 25.91 MB / 446.1 MB Notification: Performance of Templates: time 0.004913/0.4446, allocations: 1.606 MB / 0.5004 GB, free: 25.67 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.133953423937783]