Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.001329/0.001329, allocations: 112.5 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.001471/0.001471, 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.368/1.368, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.1871/0.1871, allocations: 38.53 MB / 353.2 MB, free: 12.51 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.AC3ph.Elementary.Source,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.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,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.Source") [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.002077/0.002077, allocations: 63.91 kB / 493.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2947, allocations: 62.47 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006247/0.3009, allocations: 4.566 MB / 0.5477 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.3037, allocations: 1.587 MB / 0.5492 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.3039, allocations: 19.34 kB / 0.5493 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009474/0.3049, allocations: 306.2 kB / 0.5495 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007298/0.3056, allocations: 288.2 kB / 0.5498 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007516/0.3064, allocations: 246.8 kB / 0.5501 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007581/0.3071, allocations: 0.6071 MB / 0.5506 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.3075, allocations: 208.3 kB / 0.5508 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004783/0.308, allocations: 281.8 kB / 0.5511 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.3085, allocations: 394.3 kB / 0.5515 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.3086, allocations: 39.31 kB / 0.5515 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004727/0.309, allocations: 245.4 kB / 0.5518 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.3093, allocations: 240.7 kB / 0.552 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.3096, allocations: 254.3 kB / 0.5522 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.3106, allocations: 0.6785 MB / 0.5529 GB, free: 9.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3106, allocations: 4 kB / 0.5529 GB, free: 9.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3106, allocations: 1.125 kB / 0.5529 GB, free: 9.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3106, allocations: 3.938 kB / 0.5529 GB, free: 9.367 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001596/0.3122, allocations: 0.7078 MB / 0.5536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3123, allocations: 13.98 kB / 0.5536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007951/0.3131, allocations: 133.1 kB / 0.5537 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.3138, allocations: 359.4 kB / 0.5541 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.3138, allocations: 23.59 kB / 0.5541 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.314, allocations: 52.91 kB / 0.5542 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.315, allocations: 0.6935 MB / 0.5548 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.3151, allocations: 1.156 kB / 0.5548 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.3151, allocations: 16.69 kB / 0.5548 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/0.3153, allocations: 67.31 kB / 0.5549 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.3163, allocations: 0.6728 MB / 0.5556 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/0.32, allocations: 2.572 MB / 0.5581 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.3206, allocations: 301.3 kB / 0.5584 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.3209, allocations: 197.6 kB / 0.5586 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.3209, allocations: 7.938 kB / 0.5586 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.3209, allocations: 42.55 kB / 0.5586 GB, free: 4.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 1.993e-06/0.3209, allocations: 0 / 0.5586 GB, free: 4.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002024/0.323, allocations: 1.234 MB / 0.5598 GB, free: 3.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.323, allocations: 81.11 kB / 0.5599 GB, free: 3.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.3233, allocations: 292.5 kB / 0.5602 GB, free: 2.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.3234, allocations: 29.7 kB / 0.5602 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.3235, allocations: 264.4 kB / 0.5604 GB, free: 2.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.3237, allocations: 142.8 kB / 0.5606 GB, free: 2.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.3238, allocations: 82.12 kB / 0.5607 GB, free: 2.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.324, allocations: 354.7 kB / 0.561 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.3242, allocations: 188.8 kB / 0.5612 GB, free: 1.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.3247, allocations: 336.8 kB / 0.5615 GB, free: 1.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007065/0.3254, allocations: 0.5429 MB / 0.562 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3254, allocations: 4 kB / 0.562 GB, free: 0.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00121/0.3266, allocations: 0.6783 MB / 0.5627 GB, free: 16 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3266, allocations: 6.812 kB / 0.5627 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008701/0.3275, allocations: 491.5 kB / 0.5632 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004196/0.3279, allocations: 105.6 kB / 0.5633 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.3282, allocations: 87.81 kB / 0.5634 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.3313, allocations: 3.063 MB / 0.5663 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.3316, allocations: 31.91 kB / 0.5664 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.3317, allocations: 20 kB / 0.5664 GB, free: 11.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002959/0.332, allocations: 209.6 kB / 0.5666 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3321, allocations: 35.77 kB / 0.5666 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007707/0.3328, allocations: 468.7 kB / 0.5671 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.3329, allocations: 16.06 kB / 0.5671 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.3329, allocations: 0 / 0.5671 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3329, allocations: 7.922 kB / 0.5671 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.3344, allocations: 0.9872 MB / 0.5681 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3344, allocations: 144 / 0.5681 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.3348, allocations: 67.89 kB / 0.5681 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.3348, allocations: 11.98 kB / 0.5681 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.3348, allocations: 12 kB / 0.5682 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.3348, allocations: 7.984 kB / 0.5682 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3348, allocations: 0 / 0.5682 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/0.3358, allocations: 0.7441 MB / 0.5689 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.3359, allocations: 63.78 kB / 0.5689 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.336, allocations: 11.94 kB / 0.569 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.3362, allocations: 19.97 kB / 0.569 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.3362, allocations: 15.97 kB / 0.569 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.3362, allocations: 19.92 kB / 0.569 GB, free: 9.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002064/0.3365, allocations: 203.1 kB / 0.5692 GB, free: 9.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3365, allocations: 0 / 0.5692 GB, free: 9.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005195/0.337, allocations: 115.9 kB / 0.5693 GB, free: 8.895 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002348/0.3372, allocations: 135.1 kB / 0.5694 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.3383, allocations: 0.6744 MB / 0.5701 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3383, allocations: 8.188 kB / 0.5701 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.3385, allocations: 192.2 kB / 0.5703 GB, free: 7.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.339, allocations: 68.53 kB / 0.5704 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.3409, allocations: 1.176 MB / 0.5715 GB, free: 6.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.3415, allocations: 0.8823 MB / 0.5724 GB, free: 5.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.3416, allocations: 31.44 kB / 0.5724 GB, free: 5.625 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3416, allocations: 0 / 0.5724 GB, free: 5.625 MB / 414.1 MB Notification: Performance of Templates: time 0.01148/0.353, allocations: 7.026 MB / 0.5793 GB, free: 14.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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: 8.332666245987639]