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.001432/0.001432, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001671/0.001671, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.56/1.56, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2891/0.2891, allocations: 38.56 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 179] 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.002121/0.002121, allocations: 72.17 kB / 493 MB, free: 4.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3623, allocations: 62.47 MB / 0.5424 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.007208/0.3695, allocations: 4.478 MB / 0.5468 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.373, allocations: 1.406 MB / 0.5482 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.3733, allocations: 20.78 kB / 0.5482 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.3745, allocations: 368.9 kB / 0.5485 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007786/0.3753, allocations: 242 kB / 0.5488 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009413/0.3763, allocations: 263.7 kB / 0.549 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007972/0.3771, allocations: 0.552 MB / 0.5496 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004899/0.3775, allocations: 243.3 kB / 0.5498 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.3781, allocations: 279.8 kB / 0.5501 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005481/0.3786, allocations: 319.5 kB / 0.5504 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.092e-05/0.3787, allocations: 34.78 kB / 0.5504 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.3791, allocations: 151.6 kB / 0.5505 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.3794, allocations: 240.9 kB / 0.5508 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.3796, allocations: 208.1 kB / 0.551 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008827/0.3805, allocations: 0.6081 MB / 0.5516 GB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3805, allocations: 0 / 0.5516 GB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3805, allocations: 5 kB / 0.5516 GB, free: 9.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.3805, allocations: 0 / 0.5516 GB, free: 9.891 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001657/0.3822, allocations: 0.709 MB / 0.5523 GB, free: 9.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.3823, allocations: 12.83 kB / 0.5523 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008623/0.3831, allocations: 131 kB / 0.5524 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008592/0.384, allocations: 354.3 kB / 0.5527 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.384, allocations: 30.41 kB / 0.5528 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.3842, allocations: 68.58 kB / 0.5528 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.3855, allocations: 0.641 MB / 0.5535 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.3855, allocations: 5.047 kB / 0.5535 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/0.3855, allocations: 21.47 kB / 0.5535 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/0.3857, allocations: 33.45 kB / 0.5535 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009288/0.3866, allocations: 478.8 kB / 0.554 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/0.3908, allocations: 2.775 MB / 0.5567 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.3912, allocations: 173 kB / 0.5569 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.3914, allocations: 101.7 kB / 0.5569 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.3914, allocations: 4 kB / 0.557 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.3915, allocations: 38.56 kB / 0.557 GB, free: 5.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.274e-06/0.3915, allocations: 0 / 0.557 GB, free: 5.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001742/0.3932, allocations: 0.78 MB / 0.5578 GB, free: 4.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.3933, allocations: 85.09 kB / 0.5578 GB, free: 4.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.3937, allocations: 357.4 kB / 0.5582 GB, free: 3.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.3937, allocations: 29.7 kB / 0.5582 GB, free: 3.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.394, allocations: 307.8 kB / 0.5585 GB, free: 3.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.616e-05/0.3941, allocations: 91.42 kB / 0.5586 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.3942, allocations: 86.08 kB / 0.5587 GB, free: 3.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.3944, allocations: 346.8 kB / 0.559 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.3947, allocations: 124.8 kB / 0.5591 GB, free: 2.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.3951, allocations: 330.8 kB / 0.5594 GB, free: 2.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.3957, allocations: 0.4931 MB / 0.5599 GB, free: 1.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3957, allocations: 7.984 kB / 0.5599 GB, free: 1.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001042/0.3968, allocations: 0.5563 MB / 0.5605 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.3968, allocations: 10.97 kB / 0.5605 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005562/0.3973, allocations: 274.5 kB / 0.5607 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/0.3977, allocations: 84.72 kB / 0.5608 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.398, allocations: 99.81 kB / 0.5609 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.4, allocations: 1.589 MB / 0.5625 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.4003, allocations: 31.88 kB / 0.5625 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.4003, allocations: 20 kB / 0.5625 GB, free: 15.11 MB / 414.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.0002894/0.4006, allocations: 223.2 kB / 0.5627 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.4007, allocations: 31.81 kB / 0.5628 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005238/0.4012, allocations: 288 kB / 0.563 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4012, allocations: 4 kB / 0.563 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.4012, allocations: 0 / 0.563 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4012, allocations: 3.984 kB / 0.563 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.4024, allocations: 0.6713 MB / 0.5637 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.4024, allocations: 4 kB / 0.5637 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.4027, allocations: 55.91 kB / 0.5637 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.4027, allocations: 8.062 kB / 0.5638 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.4027, allocations: 0 / 0.5638 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.4027, allocations: 4 kB / 0.5638 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4027, allocations: 0 / 0.5638 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.4033, allocations: 490.4 kB / 0.5642 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.4034, allocations: 27.77 kB / 0.5643 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.4034, allocations: 12.03 kB / 0.5643 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.4036, allocations: 11.94 kB / 0.5643 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.4037, allocations: 19.91 kB / 0.5643 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.4037, allocations: 8 kB / 0.5643 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002425/0.4039, allocations: 231.2 kB / 0.5645 GB, free: 12.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4039, allocations: 4 kB / 0.5645 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005038/0.4044, allocations: 96 kB / 0.5646 GB, free: 12.87 MB / 414.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 0.0001463/0.4046, allocations: 107.2 kB / 0.5647 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007967/0.4054, allocations: 429.6 kB / 0.5651 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4054, allocations: 0 / 0.5651 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.4055, allocations: 107.8 kB / 0.5652 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.406, allocations: 71.23 kB / 0.5653 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.4077, allocations: 1.002 MB / 0.5663 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.408, allocations: 262 kB / 0.5665 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.4083, allocations: 119.1 kB / 0.5666 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.336e-05/0.4084, allocations: 27.44 kB / 0.5667 GB, free: 10.7 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4084, allocations: 0 / 0.5667 GB, free: 10.7 MB / 414.1 MB Notification: Performance of Templates: time 0.009866/0.4183, allocations: 4.118 MB / 0.5707 GB, free: 6.625 MB / 414.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins/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.5712664648890495]