Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.001748/0.001748, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.002068/0.002068, allocations: 205.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.366/1.366, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.207/0.207, allocations: 38.53 MB / 353.2 MB, free: 12.52 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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.001946/0.001946, allocations: 71.88 kB / 493.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3483, allocations: 62.47 MB / 0.5432 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006983/0.3553, allocations: 5.071 MB / 0.5482 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.3579, allocations: 1.343 MB / 0.5495 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004401/0.3583, allocations: 25.94 kB / 0.5495 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.3589, allocations: 125.4 kB / 0.5496 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008118/0.3597, allocations: 327.8 kB / 0.55 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.3602, allocations: 165.3 kB / 0.5501 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008756/0.3611, allocations: 0.7057 MB / 0.5508 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.3613, allocations: 112 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005392/0.3618, allocations: 323.7 kB / 0.5512 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006959/0.3625, allocations: 466.5 kB / 0.5517 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.362e-05/0.3626, allocations: 45.44 kB / 0.5517 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3627, allocations: 51.78 kB / 0.5518 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.363, allocations: 241.9 kB / 0.552 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.3633, allocations: 282 kB / 0.5523 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007836/0.3641, allocations: 0.6087 MB / 0.5529 GB, free: 9.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3641, allocations: 0 / 0.5529 GB, free: 9.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3641, allocations: 1.031 kB / 0.5529 GB, free: 9.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3641, allocations: 0 / 0.5529 GB, free: 9.426 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002081/0.3662, allocations: 0.8868 MB / 0.5537 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3662, allocations: 16.95 kB / 0.5537 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.3664, allocations: 58.34 kB / 0.5538 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.3677, allocations: 0.5593 MB / 0.5543 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.3677, allocations: 25.91 kB / 0.5544 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.3678, allocations: 39.91 kB / 0.5544 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009208/0.3687, allocations: 0.5503 MB / 0.5549 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3688, allocations: 1.125 kB / 0.5549 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.3688, allocations: 11.34 kB / 0.5549 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003064/0.3691, allocations: 87.48 kB / 0.555 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005761/0.3697, allocations: 358 kB / 0.5554 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.3728, allocations: 2.026 MB / 0.5574 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/0.3737, allocations: 369.3 kB / 0.5577 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/0.3742, allocations: 281.5 kB / 0.558 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.3742, allocations: 11.92 kB / 0.558 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3743, allocations: 42.56 kB / 0.558 GB, free: 5.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.644e-06/0.3743, allocations: 0 / 0.558 GB, free: 5.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.00429/0.3785, allocations: 1.937 MB / 0.5599 GB, free: 3.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.3786, allocations: 81.11 kB / 0.56 GB, free: 2.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.3791, allocations: 377.7 kB / 0.5604 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.3791, allocations: 37.73 kB / 0.5604 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.3793, allocations: 252.6 kB / 0.5606 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.3794, allocations: 146.8 kB / 0.5608 GB, free: 2.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.3796, allocations: 98.14 kB / 0.5609 GB, free: 2.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3798, allocations: 358.7 kB / 0.5612 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.3801, allocations: 244.8 kB / 0.5614 GB, free: 1.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.3806, allocations: 368.7 kB / 0.5618 GB, free: 1.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008254/0.3814, allocations: 0.6118 MB / 0.5624 GB, free: 420 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3814, allocations: 4 kB / 0.5624 GB, free: 416 kB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001734/0.3831, allocations: 1.002 MB / 0.5634 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3832, allocations: 15.88 kB / 0.5634 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3832, allocations: 8 kB / 0.5634 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.3842, allocations: 409.5 kB / 0.5638 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.3845, allocations: 83.84 kB / 0.5639 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005517/0.39, allocations: 4.928 MB / 0.5687 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.3904, allocations: 39.95 kB / 0.5687 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.3905, allocations: 19.98 kB / 0.5687 GB, free: 9.668 MB / 414.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 (48): * Single equations (assignments): 46 * 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%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003202/0.3908, allocations: 205.7 kB / 0.5689 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.311e-05/0.3909, allocations: 43.84 kB / 0.569 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.3924, allocations: 0.8309 MB / 0.5698 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.3924, allocations: 11.94 kB / 0.5698 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3924, allocations: 4 kB / 0.5698 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3924, allocations: 0 / 0.5698 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.3946, allocations: 1.382 MB / 0.5711 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.3946, allocations: 8.031 kB / 0.5712 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.3948, allocations: 35.92 kB / 0.5712 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.396, allocations: 445.3 kB / 0.5716 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.3961, allocations: 39.91 kB / 0.5717 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005824/0.4019, allocations: 6.301 MB / 0.5778 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4019, allocations: 4.156 kB / 0.5778 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.4037, allocations: 1.114 MB / 0.5789 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.4039, allocations: 39.66 kB / 0.5789 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.4039, allocations: 27.98 kB / 0.579 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.4042, allocations: 35.94 kB / 0.579 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.995e-05/0.4043, allocations: 35.92 kB / 0.579 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.4043, allocations: 15.98 kB / 0.579 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002954/0.4046, allocations: 271 kB / 0.5793 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4046, allocations: 3.938 kB / 0.5793 GB, free: 14.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006724/0.4053, allocations: 160 kB / 0.5795 GB, free: 14.04 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (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.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]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0001726/0.4055, allocations: 115.5 kB / 0.5796 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.4072, allocations: 0.8799 MB / 0.5804 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.4072, allocations: 0 / 0.5804 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.4086, allocations: 0.8527 MB / 0.5813 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006892/0.4093, allocations: 124.3 kB / 0.5814 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.4122, allocations: 1.907 MB / 0.5832 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.4128, allocations: 0.8819 MB / 0.5841 GB, free: 9.121 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/0.4128, allocations: 35.44 kB / 0.5841 GB, free: 9.086 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4128, allocations: 0 / 0.5841 GB, free: 9.086 MB / 430.1 MB Notification: Performance of Templates: time 0.01734/0.4302, allocations: 13.31 MB / 0.5971 GB, free: 11.78 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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: 10.218056134879589]