Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.001946/0.001946, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002528/0.002528, allocations: 212.8 kB / 23.73 MB, free: 4.531 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1892/0.1892, allocations: 38.55 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.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",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.002143/0.002143, allocations: 70.25 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3138, allocations: 62.46 MB / 0.542 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01066/0.3245, allocations: 8.362 MB / 0.5501 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005621/0.3301, allocations: 2.867 MB / 0.5529 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007166/0.3308, allocations: 46.03 kB / 0.553 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00289/0.3337, allocations: 1.065 MB / 0.554 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.3355, allocations: 0.6276 MB / 0.5546 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.3375, allocations: 0.7452 MB / 0.5553 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002151/0.3396, allocations: 1.627 MB / 0.5569 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.3407, allocations: 0.6743 MB / 0.5576 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.3422, allocations: 0.7588 MB / 0.5583 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.3438, allocations: 0.9618 MB / 0.5593 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.3441, allocations: 112 kB / 0.5594 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.3454, allocations: 491.2 kB / 0.5598 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007656/0.3462, allocations: 0.6662 MB / 0.5605 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008363/0.347, allocations: 0.5988 MB / 0.5611 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002619/0.3496, allocations: 1.829 MB / 0.5629 GB, free: 14.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3497, allocations: 0 / 0.5629 GB, free: 14.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3497, allocations: 0 / 0.5629 GB, free: 14.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3e-05/0.3497, allocations: 0 / 0.5629 GB, free: 14.79 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003321/0.353, allocations: 1.616 MB / 0.5644 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/0.3531, allocations: 15.98 kB / 0.5645 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002532/0.3533, allocations: 190.5 kB / 0.5646 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.3556, allocations: 399.6 kB / 0.565 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.3575, allocations: 0.8116 MB / 0.5658 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.448e-05/0.3576, allocations: 90.7 kB / 0.5659 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003613/0.358, allocations: 159.8 kB / 0.5661 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.3609, allocations: 1.846 MB / 0.5679 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.622e-05/0.361, allocations: 7.938 kB / 0.5679 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.3611, allocations: 55.98 kB / 0.5679 GB, free: 9.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003089/0.3614, allocations: 102.1 kB / 0.568 GB, free: 9.254 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.3639, allocations: 1.48 MB / 0.5695 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01/0.3739, allocations: 7.914 MB / 0.5772 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.3751, allocations: 0.6677 MB / 0.5778 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/0.3758, allocations: 452.2 kB / 0.5783 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/0.3759, allocations: 12.66 kB / 0.5783 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.3759, allocations: 47.16 kB / 0.5783 GB, free: 14.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.176e-06/0.3759, allocations: 0 / 0.5783 GB, free: 14.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.004288/0.3802, allocations: 2.389 MB / 0.5807 GB, free: 11.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.3803, allocations: 93.64 kB / 0.5808 GB, free: 11.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.3813, allocations: 0.8562 MB / 0.5816 GB, free: 10.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.3814, allocations: 49.81 kB / 0.5816 GB, free: 10.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005603/0.382, allocations: 0.6943 MB / 0.5823 GB, free: 10.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.3823, allocations: 321.4 kB / 0.5826 GB, free: 9.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003546/0.3826, allocations: 259.4 kB / 0.5829 GB, free: 9.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.3829, allocations: 414.7 kB / 0.5833 GB, free: 9.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007374/0.3836, allocations: 455.7 kB / 0.5837 GB, free: 8.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.3848, allocations: 1.001 MB / 0.5847 GB, free: 7.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.387, allocations: 1.592 MB / 0.5862 GB, free: 5.629 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.387, allocations: 4 kB / 0.5862 GB, free: 5.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003419/0.3905, allocations: 1.761 MB / 0.588 GB, free: 3.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.3905, allocations: 12 kB / 0.588 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001835/0.3923, allocations: 0.9814 MB / 0.5889 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008917/0.3932, allocations: 246.3 kB / 0.5892 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.3943, allocations: 311.5 kB / 0.5895 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005518/0.3998, allocations: 4.847 MB / 0.5942 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.4008, allocations: 59.88 kB / 0.5942 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.4009, allocations: 64 kB / 0.5943 GB, free: 12.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (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.0007535/0.4017, allocations: 429.1 kB / 0.5947 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.4019, allocations: 107.4 kB / 0.5948 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.4036, allocations: 0.9493 MB / 0.5957 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.4037, allocations: 11.94 kB / 0.5958 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.4037, allocations: 0 / 0.5958 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.4037, allocations: 3.984 kB / 0.5958 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/0.4076, allocations: 2.012 MB / 0.5977 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.4076, allocations: 8 kB / 0.5977 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009061/0.4085, allocations: 191.7 kB / 0.5979 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.4086, allocations: 4 kB / 0.5979 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.115e-05/0.4086, allocations: 28.17 kB / 0.5979 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.4086, allocations: 8 kB / 0.598 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4086, allocations: 0 / 0.598 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.4107, allocations: 1.402 MB / 0.5993 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.4109, allocations: 95.27 kB / 0.5994 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.4111, allocations: 23.98 kB / 0.5994 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/0.4115, allocations: 27.98 kB / 0.5995 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.4116, allocations: 60.72 kB / 0.5995 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/0.4116, allocations: 23.98 kB / 0.5995 GB, free: 7.496 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000733/0.4124, allocations: 0.5458 MB / 0.6001 GB, free: 6.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4124, allocations: 4 kB / 0.6001 GB, free: 6.945 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001114/0.4135, allocations: 296 kB / 0.6004 GB, free: 6.656 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.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 (86): * Single equations (assignments): 85 * 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.002524/0.416, allocations: 1.977 MB / 0.6023 GB, free: 4.625 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002513/0.4185, allocations: 1.411 MB / 0.6037 GB, free: 3.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4185, allocations: 4 kB / 0.6037 GB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.4191, allocations: 377.1 kB / 0.604 GB, free: 2.805 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.4202, allocations: 190.5 kB / 0.6042 GB, free: 2.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.4354, allocations: 10.33 MB / 0.6143 GB, free: 7.602 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/0.4362, allocations: 0.6538 MB / 0.6149 GB, free: 6.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001015/0.4373, allocations: 420.7 kB / 0.6153 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/0.4379, allocations: 467.3 kB / 0.6158 GB, free: 6.039 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4379, allocations: 0 / 0.6158 GB, free: 6.039 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0621/0.5, allocations: 22.03 MB / 0.6373 GB, free: 284 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.95, allocations: 5.594 kB / 0.6373 GB, free: 284 kB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --stepSize=0.18 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.865612089633942]