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.0008052/0.0008052, allocations: 79.7 kB / 20.67 MB, free: 3.883 MB / 18.57 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.001265/0.001265, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.9104/0.9104, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2391/0.2391, allocations: 29.41 MB / 290.1 MB, free: 2.457 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.729e-05, allocations: 10.22 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.00627/0.006287, allocations: 8.275 MB / 438.5 MB, free: 5.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003487/0.009775, allocations: 2.889 MB / 441.4 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004993/0.01027, allocations: 51.62 kB / 441.4 MB, free: 2.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.01174, allocations: 1.045 MB / 442.5 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000998/0.01274, allocations: 0.6446 MB / 443.1 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.186/0.1987, allocations: 0.7631 MB / 443.9 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.2005, allocations: 1.663 MB / 445.6 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008472/0.2014, allocations: 0.6796 MB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.2026, allocations: 0.984 MB / 447.2 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000936/0.2035, allocations: 0.897 MB / 448.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.2037, allocations: 104.1 kB / 448.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007754/0.2045, allocations: 496.9 kB / 448.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004115/0.2049, allocations: 0.7001 MB / 449.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.2053, allocations: 0.4976 MB / 449.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.2067, allocations: 1.853 MB / 451.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2067, allocations: 0 / 451.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2067, allocations: 2.25 kB / 451.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.2067, allocations: 0 / 451.8 MB, free: 42.81 MB / 410.7 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.002089/0.2088, allocations: 1.602 MB / 453.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/0.2089, allocations: 13.23 kB / 453.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.2091, allocations: 192.1 kB / 453.6 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.2103, allocations: 397.5 kB / 453.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.2114, allocations: 0.8173 MB / 454.8 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/0.2115, allocations: 85.22 kB / 454.8 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.2117, allocations: 157 kB / 455 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.2134, allocations: 1.851 MB / 456.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.2134, allocations: 6.656 kB / 456.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.917e-05/0.2135, allocations: 55.67 kB / 456.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.2137, allocations: 100.4 kB / 457 MB, free: 40.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.2151, allocations: 1.486 MB / 458.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004519/0.2196, allocations: 7.904 MB / 466.4 MB, free: 34.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007122/0.2204, allocations: 0.6503 MB / 467 MB, free: 34.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/0.2207, allocations: 455.5 kB / 467.5 MB, free: 33.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.2208, allocations: 13.97 kB / 467.5 MB, free: 33.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2208, allocations: 45.62 kB / 467.6 MB, free: 33.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.926e-06/0.2208, allocations: 0 / 467.6 MB, free: 33.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.002392/0.2232, allocations: 2.388 MB / 469.9 MB, free: 32.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.2232, allocations: 90.8 kB / 470 MB, free: 32.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.2238, allocations: 0.8492 MB / 470.9 MB, free: 32.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.2238, allocations: 36.92 kB / 470.9 MB, free: 32.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.224, allocations: 0.7033 MB / 471.6 MB, free: 31.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.2241, allocations: 311.7 kB / 471.9 MB, free: 31.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.2243, allocations: 256.5 kB / 472.2 MB, free: 31.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.2244, allocations: 421.5 kB / 472.6 MB, free: 30.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.2248, allocations: 451 kB / 473 MB, free: 30.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/0.2253, allocations: 1.002 MB / 474 MB, free: 29.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.2263, allocations: 1.59 MB / 475.6 MB, free: 28.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.2264, allocations: 6.312 kB / 475.6 MB, free: 28.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001683/0.228, allocations: 1.77 MB / 477.4 MB, free: 28.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.2281, allocations: 12.34 kB / 477.4 MB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009447/0.229, allocations: 0.9844 MB / 478.4 MB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/0.2295, allocations: 238.7 kB / 478.6 MB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.23, allocations: 323.1 kB / 478.9 MB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.2323, allocations: 4.838 MB / 483.8 MB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.2329, allocations: 49.44 kB / 483.8 MB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/0.2329, allocations: 70.94 kB / 483.9 MB, free: 23.73 MB / 410.7 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.000499/0.2334, allocations: 432.1 kB / 484.3 MB, free: 23.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/0.2335, allocations: 104 kB / 484.4 MB, free: 23.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.2346, allocations: 0.9575 MB / 485.4 MB, free: 23.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2346, allocations: 8.219 kB / 485.4 MB, free: 23.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2346, allocations: 7.766 kB / 485.4 MB, free: 23.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2346, allocations: 3.141 kB / 485.4 MB, free: 23.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.2368, allocations: 2.02 MB / 487.4 MB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2368, allocations: 5.938 kB / 487.4 MB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.2373, allocations: 183.9 kB / 487.6 MB, free: 22.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2373, allocations: 4.406 kB / 487.6 MB, free: 22.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.2373, allocations: 28.5 kB / 487.6 MB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2373, allocations: 4.406 kB / 487.6 MB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2373, allocations: 2.688 kB / 487.6 MB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.2385, allocations: 1.406 MB / 489 MB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.2386, allocations: 88.72 kB / 489.1 MB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.2387, allocations: 27.53 kB / 489.2 MB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.2389, allocations: 21.09 kB / 489.2 MB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.239, allocations: 61.62 kB / 489.2 MB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.239, allocations: 21.88 kB / 489.3 MB, free: 21.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004516/0.2395, allocations: 0.5433 MB / 489.8 MB, free: 21.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2395, allocations: 4 kB / 489.8 MB, free: 21.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007849/0.2402, allocations: 295.9 kB / 490.1 MB, free: 21.18 MB / 410.7 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.001312/0.2415, allocations: 1.964 MB / 492.1 MB, free: 20 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.243, allocations: 1.41 MB / 493.5 MB, free: 19.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.243, allocations: 0 / 493.5 MB, free: 19.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.2434, allocations: 385.2 kB / 493.8 MB, free: 19.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/0.244, allocations: 181.7 kB / 494 MB, free: 19.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.2541, allocations: 10.14 MB / 0.4923 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.2548, allocations: 0.6568 MB / 0.493 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008082/0.2556, allocations: 423.8 kB / 0.4934 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.256, allocations: 467.7 kB / 0.4938 GB, free: 13.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/0.256, allocations: 0 / 0.4938 GB, free: 13.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04397/0.2999, allocations: 22.15 MB / 0.5155 GB, free: 14.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/7.728, allocations: 11.38 kB / 0.5155 GB, free: 14.01 MB / 426.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","/var/lib/jenkins/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: 9.75756190624088]