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.001266/0.001266, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001362/0.001362, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.352/1.352, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.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.1714/0.1714, allocations: 38.52 MB / 353.2 MB, free: 12.53 MB / 286.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.002059/0.002059, allocations: 63.91 kB / 493.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2794, allocations: 62.47 MB / 0.5432 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004685/0.284, allocations: 3.568 MB / 0.5467 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.2861, allocations: 1.503 MB / 0.5482 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.2862, allocations: 9.156 kB / 0.5482 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007991/0.287, allocations: 271.1 kB / 0.5484 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005706/0.2876, allocations: 273.8 kB / 0.5487 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.2879, allocations: 115 kB / 0.5488 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000431/0.2883, allocations: 332.4 kB / 0.5491 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.2886, allocations: 126.3 kB / 0.5493 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.2889, allocations: 158.8 kB / 0.5494 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.2891, allocations: 174 kB / 0.5496 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.2892, allocations: 14.09 kB / 0.5496 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.2897, allocations: 316.6 kB / 0.5499 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.2898, allocations: 103.3 kB / 0.55 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.2899, allocations: 100.6 kB / 0.5501 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.2904, allocations: 347.7 kB / 0.5504 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2904, allocations: 1.406 kB / 0.5504 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2904, allocations: 0 / 0.5504 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.2904, allocations: 0 / 0.5504 GB, free: 11.11 MB / 398.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.0007168/0.2912, allocations: 449.1 kB / 0.5508 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2912, allocations: 13.23 kB / 0.5509 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008348/0.292, allocations: 91.12 kB / 0.5509 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.2924, allocations: 210.7 kB / 0.5511 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.2924, allocations: 15.53 kB / 0.5512 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.2925, allocations: 28.33 kB / 0.5512 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.2929, allocations: 316.2 kB / 0.5515 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.293, allocations: 3.938 kB / 0.5515 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.293, allocations: 10.72 kB / 0.5515 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.293, allocations: 15.8 kB / 0.5515 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.2934, allocations: 283.9 kB / 0.5518 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.2951, allocations: 1.258 MB / 0.553 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.2957, allocations: 199.4 kB / 0.5532 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/0.2958, allocations: 51.86 kB / 0.5533 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.2958, allocations: 14.22 kB / 0.5533 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.2958, allocations: 35.98 kB / 0.5533 GB, free: 8.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.2958, allocations: 0 / 0.5533 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008897/0.2967, allocations: 355.4 kB / 0.5536 GB, free: 8.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.2968, allocations: 78.8 kB / 0.5537 GB, free: 8.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.297, allocations: 203.3 kB / 0.5539 GB, free: 8.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.297, allocations: 30.95 kB / 0.5539 GB, free: 8.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.2971, allocations: 167.5 kB / 0.5541 GB, free: 8.145 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.2972, allocations: 50.27 kB / 0.5541 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.2972, allocations: 45.97 kB / 0.5542 GB, free: 8.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2974, allocations: 331.6 kB / 0.5545 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.2975, allocations: 52.59 kB / 0.5546 GB, free: 7.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.2976, allocations: 147 kB / 0.5547 GB, free: 7.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.2979, allocations: 234.5 kB / 0.5549 GB, free: 7.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.2979, allocations: 5.125 kB / 0.5549 GB, free: 7.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004359/0.2984, allocations: 264.7 kB / 0.5552 GB, free: 7.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2984, allocations: 6.188 kB / 0.5552 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2984, allocations: 4.531 kB / 0.5552 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.2986, allocations: 37.61 kB / 0.5552 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2988, allocations: 52.25 kB / 0.5553 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.3, allocations: 1.336 MB / 0.5566 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.3001, allocations: 13.33 kB / 0.5566 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.3001, allocations: 12.77 kB / 0.5566 GB, free: 5.809 MB / 398.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.0001514/0.3003, allocations: 153.7 kB / 0.5567 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.3003, allocations: 19.66 kB / 0.5568 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.3007, allocations: 188.6 kB / 0.5569 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3007, allocations: 2.094 kB / 0.5569 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3007, allocations: 1.125 kB / 0.5569 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3007, allocations: 9.125 kB / 0.557 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.3015, allocations: 0.5334 MB / 0.5575 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3015, allocations: 5.156 kB / 0.5575 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.3016, allocations: 16.5 kB / 0.5575 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.3017, allocations: 31.36 kB / 0.5575 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.3017, allocations: 14.14 kB / 0.5575 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.3028, allocations: 1.317 MB / 0.5588 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3028, allocations: 1.062 kB / 0.5588 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.3032, allocations: 298.3 kB / 0.5591 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.3032, allocations: 19.91 kB / 0.5591 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.3033, allocations: 4 kB / 0.5591 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3034, allocations: 11.98 kB / 0.5591 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.3034, allocations: 15.86 kB / 0.5592 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3034, allocations: 8 kB / 0.5592 GB, free: 3.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.3035, allocations: 144.3 kB / 0.5593 GB, free: 3.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3035, allocations: 0 / 0.5593 GB, free: 3.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.3039, allocations: 48 kB / 0.5594 GB, free: 3.18 MB / 398.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 0.0001143/0.304, allocations: 99.23 kB / 0.5594 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.3045, allocations: 273.4 kB / 0.5597 GB, free: 2.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3045, allocations: 0 / 0.5597 GB, free: 2.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.3047, allocations: 171.7 kB / 0.5599 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.3051, allocations: 34.83 kB / 0.5599 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007811/0.3058, allocations: 0.4941 MB / 0.5604 GB, free: 2.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.3062, allocations: 0.7592 MB / 0.5611 GB, free: 1.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.3063, allocations: 23.42 kB / 0.5612 GB, free: 1.234 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3063, allocations: 0 / 0.5612 GB, free: 1.234 MB / 398.1 MB Notification: Performance of Templates: time 0.00514/0.3114, allocations: 3.208 MB / 0.5643 GB, free: 14.02 MB / 414.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 -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: 7.39186014700681]