Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001786/0.001786, allocations: 75.73 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.00224/0.00224, allocations: 170.2 kB / 24.5 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.53/1.53, allocations: 177.2 MB / 204.9 MB, free: 9.051 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.1778/0.1778, allocations: 29.42 MB / 290.7 MB, free: 3.316 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.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [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.002318/0.002318, allocations: 67.89 kB / 431.2 MB, free: 3.25 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.391, allocations: 62.45 MB / 493.6 MB, free: 37.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006269/0.3972, allocations: 7.175 MB / 0.4891 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004192/0.4014, allocations: 3.902 MB / 0.4929 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.4017, allocations: 20.56 kB / 0.4929 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.4038, allocations: 1.016 MB / 0.4939 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.4058, allocations: 1.111 MB / 0.495 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.4065, allocations: 305.2 kB / 0.4953 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009662/0.4074, allocations: 1.37 MB / 0.4966 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.408, allocations: 391.2 kB / 0.497 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000638/0.4086, allocations: 0.5872 MB / 0.4976 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000698/0.4093, allocations: 0.6263 MB / 0.4982 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.4094, allocations: 35.06 kB / 0.4982 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.4106, allocations: 0.7886 MB / 0.499 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.4108, allocations: 283.6 kB / 0.4993 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.411, allocations: 210.8 kB / 0.4995 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008435/0.4118, allocations: 0.8246 MB / 0.5003 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4118, allocations: 0 / 0.5003 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4118, allocations: 0 / 0.5003 GB, free: 27.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.4118, allocations: 0 / 0.5003 GB, free: 27.07 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009379/0.4128, allocations: 0.7348 MB / 0.501 GB, free: 26.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.4128, allocations: 13.64 kB / 0.501 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.4143, allocations: 142.1 kB / 0.5011 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.4147, allocations: 273.7 kB / 0.5014 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.4147, allocations: 29.2 kB / 0.5014 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.4148, allocations: 42.45 kB / 0.5015 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/0.4154, allocations: 0.5849 MB / 0.502 GB, free: 25.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.4154, allocations: 3.938 kB / 0.502 GB, free: 25.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.4155, allocations: 22.67 kB / 0.502 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.4155, allocations: 37.52 kB / 0.5021 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.416, allocations: 380.3 kB / 0.5024 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.4176, allocations: 2.413 MB / 0.5048 GB, free: 23.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.4182, allocations: 414.9 kB / 0.5052 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.4184, allocations: 190.6 kB / 0.5054 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.4184, allocations: 2.906 kB / 0.5054 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.4184, allocations: 47.8 kB / 0.5054 GB, free: 23.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.4184, allocations: 0 / 0.5054 GB, free: 23.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.00145/0.4199, allocations: 0.6708 MB / 0.5061 GB, free: 23.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4199, allocations: 112.6 kB / 0.5062 GB, free: 23.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.4201, allocations: 306.8 kB / 0.5065 GB, free: 22.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.4202, allocations: 33.17 kB / 0.5065 GB, free: 22.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4203, allocations: 258.3 kB / 0.5068 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.4203, allocations: 125.5 kB / 0.5069 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.4204, allocations: 85.09 kB / 0.507 GB, free: 22.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.4205, allocations: 342.3 kB / 0.5073 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.4206, allocations: 128.2 kB / 0.5074 GB, free: 22.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.4209, allocations: 279.1 kB / 0.5077 GB, free: 21.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.4213, allocations: 460 kB / 0.5081 GB, free: 21.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4213, allocations: 0 / 0.5081 GB, free: 21.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006857/0.422, allocations: 0.555 MB / 0.5087 GB, free: 21.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.422, allocations: 6.594 kB / 0.5087 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.422, allocations: 6.531 kB / 0.5087 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/0.4223, allocations: 124.2 kB / 0.5088 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.4225, allocations: 76 kB / 0.5089 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.4245, allocations: 2.351 MB / 0.5112 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.4247, allocations: 39.33 kB / 0.5112 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.4248, allocations: 19.28 kB / 0.5112 GB, free: 19.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.4249, allocations: 200.6 kB / 0.5114 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.425, allocations: 38.73 kB / 0.5114 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.4251, allocations: 54.31 kB / 0.5115 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4251, allocations: 3.344 kB / 0.5115 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.4251, allocations: 3.281 kB / 0.5115 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4251, allocations: 8.047 kB / 0.5115 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009301/0.426, allocations: 0.8324 MB / 0.5123 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.426, allocations: 0 / 0.5123 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.4261, allocations: 30.89 kB / 0.5124 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.4263, allocations: 118.2 kB / 0.5125 GB, free: 18.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.4264, allocations: 7.031 kB / 0.5125 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.4281, allocations: 2.345 MB / 0.5148 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4281, allocations: 6.5 kB / 0.5148 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.4287, allocations: 0.6132 MB / 0.5154 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.4288, allocations: 36.25 kB / 0.5154 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.4288, allocations: 7.812 kB / 0.5154 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.429, allocations: 6.656 kB / 0.5154 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.429, allocations: 30.36 kB / 0.5154 GB, free: 16.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.4291, allocations: 14.53 kB / 0.5155 GB, free: 16.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.4292, allocations: 202.9 kB / 0.5157 GB, free: 16.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4292, allocations: 0 / 0.5157 GB, free: 16.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007089/0.43, allocations: 161 kB / 0.5158 GB, free: 16.36 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 (20): * Single equations (assignments): 18 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001257/0.4301, allocations: 101.2 kB / 0.5159 GB, free: 16.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007752/0.4309, allocations: 0.5061 MB / 0.5164 GB, free: 16.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4309, allocations: 1.094 kB / 0.5164 GB, free: 16.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.4313, allocations: 333.5 kB / 0.5167 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.4318, allocations: 62.64 kB / 0.5168 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.4332, allocations: 0.8284 MB / 0.5176 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.4335, allocations: 278 kB / 0.5178 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.4337, allocations: 71.33 kB / 0.5179 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.4338, allocations: 22.84 kB / 0.5179 GB, free: 15.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.814e-06/0.4338, allocations: 0 / 0.5179 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Templates: time 0.01161/0.4454, allocations: 3.616 MB / 0.5215 GB, free: 14.76 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.2704914540518075]