Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.00186/0.00186, allocations: 71.84 kB / 21.24 MB, free: 0.5547 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.002443/0.002443, allocations: 158.7 kB / 24.5 MB, free: 3.719 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.497/1.497, allocations: 177.2 MB / 204.9 MB, free: 9.02 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.178/0.178, allocations: 29.43 MB / 290.7 MB, free: 3.273 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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") [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.002117/0.002117, allocations: 66.88 kB / 431.2 MB, free: 3.215 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.383, allocations: 62.43 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005511/0.3885, allocations: 4.485 MB / 498.1 MB, free: 34.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.3907, allocations: 1.414 MB / 499.5 MB, free: 33.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.3908, allocations: 21.47 kB / 499.6 MB, free: 33.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009288/0.3918, allocations: 368.5 kB / 499.9 MB, free: 33.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.3922, allocations: 241.6 kB / 0.4884 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.3928, allocations: 256.8 kB / 0.4887 GB, free: 33.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004653/0.3932, allocations: 0.5651 MB / 0.4892 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.3936, allocations: 237 kB / 0.4895 GB, free: 33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/0.394, allocations: 270.8 kB / 0.4897 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004625/0.3944, allocations: 329.9 kB / 0.49 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.3945, allocations: 35.12 kB / 0.4901 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.3948, allocations: 148.6 kB / 0.4902 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.395, allocations: 240.5 kB / 0.4904 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.3952, allocations: 204.6 kB / 0.4906 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005803/0.3958, allocations: 0.6052 MB / 0.4912 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3958, allocations: 4 kB / 0.4912 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3958, allocations: 3.219 kB / 0.4912 GB, free: 32.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3958, allocations: 0 / 0.4912 GB, free: 32.33 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001253/0.397, allocations: 0.7127 MB / 0.4919 GB, free: 31.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3971, allocations: 13.17 kB / 0.4919 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007134/0.3978, allocations: 130.9 kB / 0.4921 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.3984, allocations: 356.8 kB / 0.4924 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.3984, allocations: 29.28 kB / 0.4924 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.3986, allocations: 57.23 kB / 0.4925 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/0.3993, allocations: 0.6429 MB / 0.4931 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.3993, allocations: 7.938 kB / 0.4931 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.3993, allocations: 18.12 kB / 0.4931 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.3995, allocations: 33.61 kB / 0.4932 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.4001, allocations: 476.9 kB / 0.4936 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.4026, allocations: 2.785 MB / 0.4963 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.4029, allocations: 174.1 kB / 0.4965 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.403, allocations: 103.4 kB / 0.4966 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.4031, allocations: 3.312 kB / 0.4966 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.4031, allocations: 37.78 kB / 0.4966 GB, free: 28.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/0.4031, allocations: 4 kB / 0.4967 GB, free: 28.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001186/0.4043, allocations: 0.7718 MB / 0.4974 GB, free: 28.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.4043, allocations: 83.86 kB / 0.4975 GB, free: 28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.4046, allocations: 358.4 kB / 0.4978 GB, free: 27.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.4046, allocations: 28.77 kB / 0.4979 GB, free: 27.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.4048, allocations: 313.3 kB / 0.4982 GB, free: 27.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.4048, allocations: 83.8 kB / 0.4982 GB, free: 27.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.4049, allocations: 89.16 kB / 0.4983 GB, free: 27.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.405, allocations: 345.9 kB / 0.4986 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.4052, allocations: 132 kB / 0.4988 GB, free: 27.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.4054, allocations: 330 kB / 0.4991 GB, free: 26.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.4059, allocations: 0.4897 MB / 0.4996 GB, free: 26.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4059, allocations: 2.812 kB / 0.4996 GB, free: 26.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000812/0.4067, allocations: 0.5634 MB / 0.5001 GB, free: 26.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4067, allocations: 10 kB / 0.5001 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004225/0.4071, allocations: 273.8 kB / 0.5004 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003175/0.4074, allocations: 82.61 kB / 0.5005 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.4077, allocations: 101.7 kB / 0.5006 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.409, allocations: 1.59 MB / 0.5021 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.4092, allocations: 24.83 kB / 0.5021 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.4093, allocations: 27.09 kB / 0.5022 GB, free: 24.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002197/0.4095, allocations: 215.6 kB / 0.5024 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.4095, allocations: 31.5 kB / 0.5024 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/0.41, allocations: 286.5 kB / 0.5027 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.41, allocations: 3.125 kB / 0.5027 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.41, allocations: 7.188 kB / 0.5027 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.41, allocations: 0 / 0.5027 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000909/0.4109, allocations: 0.6782 MB / 0.5033 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4109, allocations: 0 / 0.5033 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.4111, allocations: 52.8 kB / 0.5034 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4112, allocations: 3.312 kB / 0.5034 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.4112, allocations: 7.219 kB / 0.5034 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4112, allocations: 0 / 0.5034 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4112, allocations: 15.34 kB / 0.5034 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.4117, allocations: 480.2 kB / 0.5039 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.4117, allocations: 28.81 kB / 0.5039 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.4117, allocations: 7.125 kB / 0.5039 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.4119, allocations: 10.56 kB / 0.5039 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.4119, allocations: 17 kB / 0.5039 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.4119, allocations: 10.03 kB / 0.504 GB, free: 23.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.4121, allocations: 233.3 kB / 0.5042 GB, free: 23.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4121, allocations: 3.938 kB / 0.5042 GB, free: 23.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004777/0.4126, allocations: 96.72 kB / 0.5043 GB, free: 23.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.904e-05/0.4127, allocations: 102.3 kB / 0.5044 GB, free: 23.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006522/0.4133, allocations: 430.4 kB / 0.5048 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.4133, allocations: 4.188 kB / 0.5048 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.4135, allocations: 104.7 kB / 0.5049 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.414, allocations: 73.05 kB / 0.505 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.4153, allocations: 0.9927 MB / 0.5059 GB, free: 22.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.4155, allocations: 274.4 kB / 0.5062 GB, free: 22.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.4157, allocations: 112.1 kB / 0.5063 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.4158, allocations: 31.52 kB / 0.5063 GB, free: 22.33 MB / 446.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4158, allocations: 0 / 0.5063 GB, free: 22.33 MB / 446.1 MB Notification: Performance of Templates: time 0.007122/0.4229, allocations: 3.585 MB / 0.5098 GB, free: 21.87 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.206303576938808]