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.001507/0.001507, 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.001358/0.001358, 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.35/1.35, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.1734/0.1734, allocations: 38.53 MB / 353.2 MB, free: 12.55 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.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.00206/0.00206, allocations: 67.89 kB / 493.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2811, allocations: 62.46 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005828/0.2869, allocations: 4.495 MB / 0.5476 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.2886, allocations: 0.9743 MB / 0.5486 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.2887, allocations: 19.28 kB / 0.5486 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.289, allocations: 62.23 kB / 0.5487 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005673/0.2895, allocations: 243.4 kB / 0.5489 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.2898, allocations: 100.5 kB / 0.549 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005378/0.2903, allocations: 0.49 MB / 0.5495 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.2905, allocations: 102.2 kB / 0.5496 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003646/0.2909, allocations: 238.5 kB / 0.5498 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.2913, allocations: 283.2 kB / 0.5501 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.2913, allocations: 23.66 kB / 0.5501 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.629e-05/0.2914, allocations: 27.88 kB / 0.5501 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.2916, allocations: 151.6 kB / 0.5502 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.2917, allocations: 176 kB / 0.5504 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.2922, allocations: 370.2 kB / 0.5508 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2922, allocations: 4 kB / 0.5508 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2922, allocations: 0 / 0.5508 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.2922, allocations: 0 / 0.5508 GB, free: 10.91 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001101/0.2933, allocations: 0.5957 MB / 0.5514 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2933, allocations: 12.86 kB / 0.5514 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/0.2934, allocations: 39.39 kB / 0.5514 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.2939, allocations: 317.4 kB / 0.5517 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.294, allocations: 27 kB / 0.5517 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.294, allocations: 28.62 kB / 0.5518 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.2945, allocations: 350.3 kB / 0.5521 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2945, allocations: 1.156 kB / 0.5521 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.2946, allocations: 14.19 kB / 0.5521 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-05/0.2947, allocations: 26.25 kB / 0.5521 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.2951, allocations: 243.1 kB / 0.5524 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.2967, allocations: 1.336 MB / 0.5537 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.2971, allocations: 165.2 kB / 0.5538 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.2973, allocations: 90.14 kB / 0.5539 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.2973, allocations: 5.047 kB / 0.5539 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.2973, allocations: 32.91 kB / 0.5539 GB, free: 8.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.2973, allocations: 0 / 0.5539 GB, free: 8.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001245/0.2986, allocations: 0.6162 MB / 0.5545 GB, free: 7.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.2986, allocations: 79.14 kB / 0.5546 GB, free: 7.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.2989, allocations: 304.3 kB / 0.5549 GB, free: 7.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.2989, allocations: 30.73 kB / 0.5549 GB, free: 7.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.2991, allocations: 216 kB / 0.5552 GB, free: 7.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.2992, allocations: 62.77 kB / 0.5552 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-05/0.2992, allocations: 52.25 kB / 0.5553 GB, free: 7.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2994, allocations: 338 kB / 0.5556 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.2995, allocations: 68.33 kB / 0.5556 GB, free: 6.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.2997, allocations: 167.9 kB / 0.5558 GB, free: 6.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.3, allocations: 254.3 kB / 0.5561 GB, free: 6.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3, allocations: 1.156 kB / 0.5561 GB, free: 6.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005046/0.3005, allocations: 326.4 kB / 0.5564 GB, free: 6.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3005, allocations: 10.72 kB / 0.5564 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.3005, allocations: 3.281 kB / 0.5564 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.3007, allocations: 48.78 kB / 0.5564 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3009, allocations: 50.08 kB / 0.5565 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.3022, allocations: 1.502 MB / 0.5579 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.3024, allocations: 8 kB / 0.5579 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.3024, allocations: 15.98 kB / 0.558 GB, free: 4.863 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 (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.0001867/0.3026, allocations: 177.8 kB / 0.5581 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.3027, allocations: 27.81 kB / 0.5582 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.3031, allocations: 232.2 kB / 0.5584 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3031, allocations: 4 kB / 0.5584 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3031, allocations: 0 / 0.5584 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3031, allocations: 3.984 kB / 0.5584 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008812/0.304, allocations: 0.6152 MB / 0.559 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.304, allocations: 0 / 0.559 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.3041, allocations: 23.94 kB / 0.559 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/0.3043, allocations: 60.78 kB / 0.5591 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.3043, allocations: 15.94 kB / 0.5591 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.3056, allocations: 1.502 MB / 0.5605 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3056, allocations: 4.188 kB / 0.5606 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.3061, allocations: 412.6 kB / 0.5609 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.3062, allocations: 23.84 kB / 0.561 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.3062, allocations: 11.98 kB / 0.561 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.3063, allocations: 4 kB / 0.561 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.3064, allocations: 20.03 kB / 0.561 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3064, allocations: 7.938 kB / 0.561 GB, free: 1.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.3066, allocations: 207.1 kB / 0.5612 GB, free: 1.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3066, allocations: 0 / 0.5612 GB, free: 1.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.3069, allocations: 72 kB / 0.5613 GB, free: 1.254 MB / 398.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 0.0001107/0.3071, allocations: 95.19 kB / 0.5614 GB, free: 1.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.3076, allocations: 310.5 kB / 0.5617 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3076, allocations: 0 / 0.5617 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.3079, allocations: 199.5 kB / 0.5619 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.3084, allocations: 76.12 kB / 0.5619 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3097, allocations: 0.7778 MB / 0.5627 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3101, allocations: 0.8181 MB / 0.5635 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.3101, allocations: 23.44 kB / 0.5635 GB, free: 14.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3101, allocations: 0 / 0.5635 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Templates: time 0.007172/0.3173, allocations: 4.912 MB / 0.5683 GB, free: 9.965 MB / 414.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 -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: 7.762409199029207]