Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.001983/0.001983, allocations: 69.72 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.002076/0.002076, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.525/1.525, allocations: 177.2 MB / 204.9 MB, free: 8.988 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.1909/0.1909, allocations: 29.42 MB / 290.7 MB, free: 3.254 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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.002154/0.002154, allocations: 63.91 kB / 431.2 MB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3674, allocations: 62.44 MB / 493.6 MB, free: 37.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004538/0.3719, allocations: 4.269 MB / 497.9 MB, free: 34.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3732, allocations: 0.8998 MB / 498.8 MB, free: 34.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.3733, allocations: 18.28 kB / 498.8 MB, free: 34.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.3735, allocations: 58.45 kB / 498.9 MB, free: 34.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.374, allocations: 247.1 kB / 499.1 MB, free: 34.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.3742, allocations: 104.7 kB / 499.2 MB, free: 34.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.3746, allocations: 0.49 MB / 499.7 MB, free: 33.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.3748, allocations: 95.34 kB / 499.8 MB, free: 33.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.3751, allocations: 250.2 kB / 0.4883 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.3755, allocations: 261.1 kB / 0.4886 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.3755, allocations: 24.88 kB / 0.4886 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-05/0.3756, allocations: 22.06 kB / 0.4886 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3757, allocations: 161.7 kB / 0.4888 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.3759, allocations: 146.4 kB / 0.4889 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.3762, allocations: 371.3 kB / 0.4893 GB, free: 33.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3762, allocations: 0 / 0.4893 GB, free: 33.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3762, allocations: 3.938 kB / 0.4893 GB, free: 33.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3762, allocations: 3.031 kB / 0.4893 GB, free: 33.3 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008984/0.3771, allocations: 0.587 MB / 0.4899 GB, free: 32.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.3771, allocations: 13.2 kB / 0.4899 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.3772, allocations: 40.02 kB / 0.4899 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.3776, allocations: 322.4 kB / 0.4902 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3776, allocations: 21.91 kB / 0.4902 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.3777, allocations: 23.84 kB / 0.4903 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.3781, allocations: 354.5 kB / 0.4906 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3781, allocations: 0 / 0.4906 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.3781, allocations: 11.19 kB / 0.4906 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.061e-05/0.3782, allocations: 29.8 kB / 0.4906 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.3785, allocations: 236.6 kB / 0.4909 GB, free: 32.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.3797, allocations: 1.241 MB / 0.4921 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.38, allocations: 168 kB / 0.4922 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.3802, allocations: 91.38 kB / 0.4923 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3802, allocations: 3.062 kB / 0.4923 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.3802, allocations: 34.03 kB / 0.4924 GB, free: 31.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.3802, allocations: 4 kB / 0.4924 GB, free: 31.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.001045/0.3813, allocations: 0.6119 MB / 0.493 GB, free: 30.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.3813, allocations: 80.05 kB / 0.493 GB, free: 30.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.3815, allocations: 307.4 kB / 0.4933 GB, free: 30.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.3815, allocations: 25.7 kB / 0.4934 GB, free: 30.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.3816, allocations: 226.5 kB / 0.4936 GB, free: 30.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.3816, allocations: 56.33 kB / 0.4936 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.3817, allocations: 47.05 kB / 0.4937 GB, free: 30.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.3817, allocations: 342.8 kB / 0.494 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.3818, allocations: 71.42 kB / 0.4941 GB, free: 29.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3819, allocations: 168.1 kB / 0.4942 GB, free: 29.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.3822, allocations: 248.7 kB / 0.4945 GB, free: 29.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3822, allocations: 6.812 kB / 0.4945 GB, free: 29.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004048/0.3826, allocations: 328.3 kB / 0.4948 GB, free: 29.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3826, allocations: 6.531 kB / 0.4948 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3826, allocations: 3.344 kB / 0.4948 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.3828, allocations: 55.89 kB / 0.4948 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.3829, allocations: 50.44 kB / 0.4949 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008989/0.3838, allocations: 1.479 MB / 0.4963 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.384, allocations: 14.34 kB / 0.4963 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.384, allocations: 9.844 kB / 0.4964 GB, free: 28.09 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 (28): * Single equations (assignments): 27 * 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.0001202/0.3841, allocations: 176.5 kB / 0.4965 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.3841, allocations: 21.58 kB / 0.4965 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.3845, allocations: 229.8 kB / 0.4968 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3845, allocations: 10.91 kB / 0.4968 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3845, allocations: 4 kB / 0.4968 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3845, allocations: 2.969 kB / 0.4968 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006364/0.3851, allocations: 0.5486 MB / 0.4973 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3851, allocations: 0 / 0.4973 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.936e-05/0.3852, allocations: 22 kB / 0.4973 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.3854, allocations: 62.19 kB / 0.4974 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3854, allocations: 7.266 kB / 0.4974 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008223/0.3862, allocations: 1.475 MB / 0.4988 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3862, allocations: 0 / 0.4988 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.3866, allocations: 408.8 kB / 0.4992 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.3867, allocations: 28.42 kB / 0.4993 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.3867, allocations: 3.156 kB / 0.4993 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.3868, allocations: 11 kB / 0.4993 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.3868, allocations: 10.2 kB / 0.4993 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.3869, allocations: 14.38 kB / 0.4993 GB, free: 25.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.387, allocations: 209.2 kB / 0.4995 GB, free: 25.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.387, allocations: 0 / 0.4995 GB, free: 25.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.3873, allocations: 68.16 kB / 0.4996 GB, free: 25.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * 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.366e-05/0.3874, allocations: 99.62 kB / 0.4997 GB, free: 25.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.3879, allocations: 306.9 kB / 0.5 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3879, allocations: 0 / 0.5 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.3882, allocations: 204.8 kB / 0.5001 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.3886, allocations: 80.53 kB / 0.5002 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.3895, allocations: 0.7403 MB / 0.5009 GB, free: 24.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.3897, allocations: 206.3 kB / 0.5011 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.3898, allocations: 39.48 kB / 0.5012 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.3898, allocations: 20.78 kB / 0.5012 GB, free: 24.73 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3898, allocations: 0 / 0.5012 GB, free: 24.73 MB / 446.1 MB Notification: Performance of Templates: time 0.006293/0.3961, allocations: 3.023 MB / 0.5042 GB, free: 24.36 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.203777795075439]