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.002005/0.002005, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002998/0.002998, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.51/1.51, allocations: 230.6 MB / 257.5 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.1895/0.1895, allocations: 38.56 MB / 352.5 MB, free: 12.31 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) [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.002159/0.002159, allocations: 63.91 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3573, allocations: 62.47 MB / 0.542 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006796/0.3641, allocations: 4.754 MB / 0.5466 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.3665, allocations: 1.242 MB / 0.5478 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.3667, allocations: 26.22 kB / 0.5478 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.3672, allocations: 112.4 kB / 0.5479 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007526/0.3679, allocations: 335.6 kB / 0.5483 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.3684, allocations: 158.6 kB / 0.5484 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009935/0.3694, allocations: 0.7078 MB / 0.5491 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.3696, allocations: 109 kB / 0.5492 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007745/0.3704, allocations: 327.6 kB / 0.5495 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009544/0.3714, allocations: 449.5 kB / 0.5499 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.3715, allocations: 50.06 kB / 0.55 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.3716, allocations: 47.47 kB / 0.55 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003132/0.3719, allocations: 245.6 kB / 0.5503 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.3723, allocations: 234 kB / 0.5505 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008593/0.3731, allocations: 0.611 MB / 0.5511 GB, free: 9.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3731, allocations: 3.938 kB / 0.5511 GB, free: 9.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3732, allocations: 0 / 0.5511 GB, free: 9.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3732, allocations: 1.031 kB / 0.5511 GB, free: 9.586 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.00228/0.3754, allocations: 0.8942 MB / 0.552 GB, free: 8.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3755, allocations: 14.08 kB / 0.552 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.922e-05/0.3756, allocations: 71.81 kB / 0.5521 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.3757, allocations: 53.8 kB / 0.5521 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.3771, allocations: 0.5432 MB / 0.5526 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.3772, allocations: 26.8 kB / 0.5527 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.3773, allocations: 47.02 kB / 0.5527 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009617/0.3782, allocations: 0.546 MB / 0.5532 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.3783, allocations: 8.922 kB / 0.5532 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.3783, allocations: 11.66 kB / 0.5533 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003773/0.3787, allocations: 90.89 kB / 0.5533 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/0.3793, allocations: 359.6 kB / 0.5537 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/0.3829, allocations: 1.93 MB / 0.5556 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009599/0.3839, allocations: 371.3 kB / 0.5559 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006065/0.3845, allocations: 293.5 kB / 0.5562 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.3845, allocations: 8 kB / 0.5562 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3845, allocations: 34.5 kB / 0.5562 GB, free: 5.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.545e-06/0.3845, allocations: 0 / 0.5562 GB, free: 5.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004801/0.3893, allocations: 1.945 MB / 0.5581 GB, free: 3.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.3894, allocations: 81.11 kB / 0.5582 GB, free: 3.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/0.3899, allocations: 389.7 kB / 0.5586 GB, free: 2.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.3899, allocations: 29.7 kB / 0.5586 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.3901, allocations: 260.5 kB / 0.5589 GB, free: 2.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.3903, allocations: 142.8 kB / 0.559 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.3904, allocations: 98.14 kB / 0.5591 GB, free: 2.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.3907, allocations: 366.7 kB / 0.5595 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.391, allocations: 240.9 kB / 0.5597 GB, free: 1.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.3915, allocations: 366 kB / 0.56 GB, free: 1.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008999/0.3924, allocations: 0.6079 MB / 0.5606 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3924, allocations: 4 kB / 0.5606 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001874/0.3943, allocations: 1.006 MB / 0.5616 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3943, allocations: 11.98 kB / 0.5616 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3943, allocations: 4 kB / 0.5616 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.3954, allocations: 401.2 kB / 0.562 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.3958, allocations: 83.89 kB / 0.5621 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/0.4019, allocations: 4.909 MB / 0.5669 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.4024, allocations: 43.94 kB / 0.5669 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/0.4025, allocations: 20.31 kB / 0.5669 GB, free: 10 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.0003204/0.4028, allocations: 197.7 kB / 0.5671 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.309e-05/0.4029, allocations: 43.72 kB / 0.5672 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.4045, allocations: 0.831 MB / 0.568 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.4045, allocations: 4 kB / 0.568 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4045, allocations: 4 kB / 0.568 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4045, allocations: 3.984 kB / 0.568 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.4071, allocations: 1.34 MB / 0.5693 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.4071, allocations: 8 kB / 0.5693 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.4073, allocations: 40 kB / 0.5694 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.4085, allocations: 445.3 kB / 0.5698 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.697e-05/0.4086, allocations: 31.97 kB / 0.5698 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006274/0.4149, allocations: 6.281 MB / 0.5759 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4149, allocations: 4.062 kB / 0.5759 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.4169, allocations: 1.118 MB / 0.577 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.417, allocations: 47.7 kB / 0.5771 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.294e-05/0.4171, allocations: 27.98 kB / 0.5771 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.4174, allocations: 35.94 kB / 0.5771 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4175, allocations: 39.91 kB / 0.5772 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.4175, allocations: 15.92 kB / 0.5772 GB, free: 14.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003311/0.4179, allocations: 263.2 kB / 0.5774 GB, free: 14.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4179, allocations: 4 kB / 0.5774 GB, free: 14.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007425/0.4186, allocations: 160 kB / 0.5776 GB, free: 14.44 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.002284/0.4209, allocations: 1.671 MB / 0.5792 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.4228, allocations: 0.8763 MB / 0.5801 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4228, allocations: 0 / 0.5801 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.4244, allocations: 0.8488 MB / 0.5809 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.4253, allocations: 128.1 kB / 0.581 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009868/0.4351, allocations: 6.276 MB / 0.5872 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.4355, allocations: 282.3 kB / 0.5874 GB, free: 4.012 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002559/0.4357, allocations: 72.34 kB / 0.5875 GB, free: 3.938 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.436, allocations: 147.4 kB / 0.5876 GB, free: 3.793 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.436, allocations: 0 / 0.5876 GB, free: 3.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05264/0.4886, allocations: 13.66 MB / 0.601 GB, free: 6.352 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.57, allocations: 0 / 0.601 GB, free: 6.352 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] 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: 15.990886346902698]