Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001337/0.001337, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001509/0.001509, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.485/1.485, allocations: 230.6 MB / 258.2 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.1886/0.1886, allocations: 38.56 MB / 353.2 MB, free: 12.3 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [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.002382/0.002382, allocations: 75.88 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3528, allocations: 62.45 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006761/0.3596, allocations: 4.017 MB / 0.5471 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.3616, allocations: 0.8725 MB / 0.5479 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003353/0.3619, allocations: 15.84 kB / 0.548 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.3622, allocations: 51.81 kB / 0.548 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007339/0.3629, allocations: 182.6 kB / 0.5482 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.3632, allocations: 92.23 kB / 0.5483 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004978/0.3637, allocations: 398.8 kB / 0.5486 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.3639, allocations: 78.02 kB / 0.5487 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.3643, allocations: 192.9 kB / 0.5489 GB, free: 12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.3646, allocations: 179.3 kB / 0.5491 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.3647, allocations: 18.66 kB / 0.5491 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.3647, allocations: 20.59 kB / 0.5491 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3648, allocations: 92.47 kB / 0.5492 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.365, allocations: 119.1 kB / 0.5493 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.3654, allocations: 291.5 kB / 0.5496 GB, free: 11.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3654, allocations: 5 kB / 0.5496 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3654, allocations: 0 / 0.5496 GB, free: 11.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3654, allocations: 0 / 0.5496 GB, free: 11.57 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001105/0.3665, allocations: 0.525 MB / 0.5501 GB, free: 11.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3665, allocations: 12.52 kB / 0.5501 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.3666, allocations: 31.78 kB / 0.5501 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.3672, allocations: 283.6 kB / 0.5504 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.3672, allocations: 21.62 kB / 0.5504 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.3673, allocations: 26.25 kB / 0.5505 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.3677, allocations: 291.9 kB / 0.5507 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3677, allocations: 0 / 0.5507 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.3677, allocations: 11.03 kB / 0.5508 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.3678, allocations: 5.719 kB / 0.5508 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.3681, allocations: 181.1 kB / 0.5509 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.3695, allocations: 1.108 MB / 0.552 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.3699, allocations: 110.5 kB / 0.5521 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.3699, allocations: 42.45 kB / 0.5522 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.37, allocations: 2.656 kB / 0.5522 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.37, allocations: 35.97 kB / 0.5522 GB, free: 9.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.37, allocations: 3.938 kB / 0.5522 GB, free: 9.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008499/0.3708, allocations: 413.4 kB / 0.5526 GB, free: 9.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.3709, allocations: 79.14 kB / 0.5527 GB, free: 8.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.3712, allocations: 248.1 kB / 0.5529 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3712, allocations: 26.8 kB / 0.5529 GB, free: 8.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.3714, allocations: 209.1 kB / 0.5531 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.3714, allocations: 44.48 kB / 0.5532 GB, free: 8.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.3715, allocations: 41.02 kB / 0.5532 GB, free: 8.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3716, allocations: 336.3 kB / 0.5535 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.3717, allocations: 39.31 kB / 0.5536 GB, free: 8.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.3718, allocations: 134.5 kB / 0.5537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.3721, allocations: 183.8 kB / 0.5539 GB, free: 7.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3721, allocations: 1.375 kB / 0.5539 GB, free: 7.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003369/0.3724, allocations: 213.8 kB / 0.5541 GB, free: 7.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3725, allocations: 5.75 kB / 0.5541 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3725, allocations: 4.375 kB / 0.5541 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3725, allocations: 3.781 kB / 0.5541 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3727, allocations: 50.34 kB / 0.5541 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3727, allocations: 10.62 kB / 0.5542 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.3728, allocations: 11.62 kB / 0.5542 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3728, allocations: 7.531 kB / 0.5542 GB, free: 7.656 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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.373, allocations: 157.4 kB / 0.5543 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.373, allocations: 22.42 kB / 0.5543 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.3733, allocations: 133.2 kB / 0.5545 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3733, allocations: 6.172 kB / 0.5545 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3733, allocations: 1.188 kB / 0.5545 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3733, allocations: 0 / 0.5545 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005632/0.3738, allocations: 404 kB / 0.5549 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3739, allocations: 8.875 kB / 0.5549 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.374, allocations: 22.39 kB / 0.5549 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.374, allocations: 2.031 kB / 0.5549 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.374, allocations: 5.094 kB / 0.5549 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.374, allocations: 1.219 kB / 0.5549 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.374, allocations: 5.062 kB / 0.5549 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.3744, allocations: 288.3 kB / 0.5552 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.3744, allocations: 18.27 kB / 0.5552 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.3745, allocations: 6.156 kB / 0.5552 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3746, allocations: 5.219 kB / 0.5552 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3746, allocations: 15.31 kB / 0.5552 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.3746, allocations: 7.062 kB / 0.5552 GB, free: 6.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001925/0.3748, allocations: 174.6 kB / 0.5554 GB, free: 6.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3748, allocations: 0 / 0.5554 GB, free: 6.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.3751, allocations: 43.5 kB / 0.5554 GB, free: 6.641 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00012/0.3753, allocations: 100.2 kB / 0.5555 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.3755, allocations: 110.1 kB / 0.5556 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3755, allocations: 4.062 kB / 0.5556 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.144e-05/0.3756, allocations: 40.39 kB / 0.5557 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.3761, allocations: 62.14 kB / 0.5557 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3771, allocations: 0.5878 MB / 0.5563 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.3773, allocations: 166.9 kB / 0.5565 GB, free: 5.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.3774, allocations: 21.59 kB / 0.5565 GB, free: 5.887 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3774, allocations: 0 / 0.5565 GB, free: 5.887 MB / 398.1 MB Notification: Performance of Templates: time 0.00573/0.3831, allocations: 3.097 MB / 0.5595 GB, free: 2.941 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.793798707425594]