Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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.001385/0.001385, 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.001542/0.001542, allocations: 213.2 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.568/1.568, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.1919/0.1919, allocations: 38.56 MB / 353.2 MB, free: 12.29 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.Line,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.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,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.Line") [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.002184/0.002184, allocations: 67.89 kB / 493.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3156, allocations: 62.47 MB / 0.5432 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007172/0.3228, allocations: 5.005 MB / 0.5481 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.3263, allocations: 1.666 MB / 0.5497 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004068/0.3267, allocations: 23 kB / 0.5497 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.3281, allocations: 436.8 kB / 0.5501 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009072/0.329, allocations: 306 kB / 0.5504 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3302, allocations: 361.6 kB / 0.5508 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.3312, allocations: 0.7759 MB / 0.5515 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005495/0.3318, allocations: 316.3 kB / 0.5518 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006538/0.3324, allocations: 351.9 kB / 0.5522 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007461/0.3332, allocations: 474.4 kB / 0.5526 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.253e-05/0.3332, allocations: 50.78 kB / 0.5527 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004495/0.3337, allocations: 186.2 kB / 0.5528 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.334, allocations: 287.8 kB / 0.5531 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.3344, allocations: 290.4 kB / 0.5534 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.3354, allocations: 0.826 MB / 0.5542 GB, free: 8.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3354, allocations: 0 / 0.5542 GB, free: 8.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3354, allocations: 0 / 0.5542 GB, free: 8.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.3355, allocations: 5.094 kB / 0.5542 GB, free: 8.387 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00193/0.3374, allocations: 0.8604 MB / 0.555 GB, free: 7.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3374, allocations: 13.48 kB / 0.555 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.3386, allocations: 169.5 kB / 0.5552 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.3398, allocations: 486.3 kB / 0.5557 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.3399, allocations: 37.12 kB / 0.5557 GB, free: 7.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.3402, allocations: 127.9 kB / 0.5558 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.3416, allocations: 0.8607 MB / 0.5567 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.3417, allocations: 7.984 kB / 0.5567 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.3417, allocations: 16 kB / 0.5567 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004661/0.3422, allocations: 68.94 kB / 0.5568 GB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.3433, allocations: 0.6244 MB / 0.5574 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0052/0.3485, allocations: 3.514 MB / 0.5608 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.3496, allocations: 0.5204 MB / 0.5613 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.3501, allocations: 307 kB / 0.5616 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.3502, allocations: 8.438 kB / 0.5616 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.3502, allocations: 38.94 kB / 0.5616 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/0.3502, allocations: 4 kB / 0.5616 GB, free: 0.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003291/0.3535, allocations: 1.77 MB / 0.5634 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.3536, allocations: 89.53 kB / 0.5635 GB, free: 15.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.3541, allocations: 413.7 kB / 0.5639 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.3541, allocations: 37.64 kB / 0.5639 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.3544, allocations: 336.5 kB / 0.5642 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.3546, allocations: 210.3 kB / 0.5644 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.3548, allocations: 146.3 kB / 0.5646 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.355, allocations: 370.9 kB / 0.5649 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005787/0.3556, allocations: 385.4 kB / 0.5653 GB, free: 13.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.3563, allocations: 0.5941 MB / 0.5659 GB, free: 12.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.3578, allocations: 1.07 MB / 0.5669 GB, free: 11.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3578, allocations: 4 kB / 0.5669 GB, free: 11.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00464/0.3624, allocations: 1.97 MB / 0.5688 GB, free: 9.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.3625, allocations: 15.88 kB / 0.5688 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3625, allocations: 8 kB / 0.5689 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/0.365, allocations: 0.9528 MB / 0.5698 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.3655, allocations: 119.8 kB / 0.5699 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.3769, allocations: 7.855 MB / 0.5776 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/0.3775, allocations: 40.03 kB / 0.5776 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.308e-05/0.3776, allocations: 39.98 kB / 0.5776 GB, free: 24 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * 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,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004118/0.378, allocations: 245.5 kB / 0.5779 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3781, allocations: 51.67 kB / 0.5779 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.3794, allocations: 0.7256 MB / 0.5786 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.3794, allocations: 7.984 kB / 0.5786 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3794, allocations: 4 kB / 0.5786 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3794, allocations: 3.984 kB / 0.5787 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/0.3822, allocations: 1.345 MB / 0.58 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3822, allocations: 4 kB / 0.58 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.3832, allocations: 187.8 kB / 0.5801 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-06/0.3832, allocations: 4 kB / 0.5802 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-05/0.3833, allocations: 27.98 kB / 0.5802 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.3833, allocations: 0 / 0.5802 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3833, allocations: 8.094 kB / 0.5802 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.3848, allocations: 0.9994 MB / 0.5812 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.385, allocations: 47.67 kB / 0.5812 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.3851, allocations: 35.86 kB / 0.5812 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.3855, allocations: 28.16 kB / 0.5813 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.3855, allocations: 36.31 kB / 0.5813 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.3856, allocations: 15.98 kB / 0.5813 GB, free: 12.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000329/0.3859, allocations: 275.1 kB / 0.5816 GB, free: 11.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3859, allocations: 0 / 0.5816 GB, free: 11.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009092/0.3868, allocations: 212 kB / 0.5818 GB, free: 11.69 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * 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.0001603/0.387, allocations: 127.1 kB / 0.5819 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002702/0.3897, allocations: 1.422 MB / 0.5833 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3897, allocations: 0 / 0.5833 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.3902, allocations: 294.3 kB / 0.5836 GB, free: 9.824 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006963/0.3909, allocations: 133.2 kB / 0.5837 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/0.3959, allocations: 2.785 MB / 0.5864 GB, free: 6.867 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.3965, allocations: 398.6 kB / 0.5868 GB, free: 6.453 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.3967, allocations: 43.44 kB / 0.5868 GB, free: 6.41 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3967, allocations: 0 / 0.5868 GB, free: 6.41 MB / 430.1 MB Notification: Performance of Templates: time 0.0183/0.415, allocations: 11.33 MB / 0.5979 GB, free: 11.09 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Line.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] "" Variables in the reference: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] Variables in the result: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],time [Calling sys.exit(0), Time elapsed: 14.370510285254568]