Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.0007223/0.0007223, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008363/0.0008363, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9066/0.9066, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2394/0.2394, allocations: 29.41 MB / 290.1 MB, free: 2.441 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.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.515e-05, allocations: 6.219 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.00546/0.005486, allocations: 5.974 MB / 436.2 MB, free: 7.613 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.007438, allocations: 1.367 MB / 437.5 MB, free: 6.242 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.00769, allocations: 31.75 kB / 437.6 MB, free: 6.211 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.008144, allocations: 150.8 kB / 437.7 MB, free: 6.062 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006988/0.008843, allocations: 429.5 kB / 438.1 MB, free: 5.641 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.00921, allocations: 195.5 kB / 438.3 MB, free: 5.449 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008397/0.01005, allocations: 1.114 MB / 439.5 MB, free: 4.332 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.01033, allocations: 213.2 kB / 439.7 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006228/0.01095, allocations: 0.6349 MB / 440.3 MB, free: 3.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.01146, allocations: 0.4949 MB / 440.8 MB, free: 2.984 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.628e-05/0.01153, allocations: 68 kB / 440.9 MB, free: 2.918 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.098e-05/0.01161, allocations: 64 kB / 440.9 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003793/0.01199, allocations: 327.2 kB / 441.2 MB, free: 2.535 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.01218, allocations: 255.5 kB / 441.5 MB, free: 2.285 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007147/0.01289, allocations: 0.8684 MB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.01289, allocations: 0 / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.0129, allocations: 0 / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.01291, allocations: 4 kB / 442.4 MB, free: 1.41 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001309/0.01422, allocations: 0.9471 MB / 443.3 MB, free: 436 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.01426, allocations: 11.98 kB / 443.3 MB, free: 424 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.583e-05/0.01435, allocations: 94.7 kB / 443.4 MB, free: 320 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.563e-05/0.01444, allocations: 76.47 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1988/0.2133, allocations: 0.5007 MB / 444 MB, free: 54.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.2134, allocations: 223.2 kB / 444.2 MB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.435e-05/0.2135, allocations: 52.16 kB / 444.3 MB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008827/0.2144, allocations: 0.7776 MB / 445 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.2144, allocations: 0 / 445 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.2144, allocations: 22.62 kB / 445.1 MB, free: 54.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.2146, allocations: 38.98 kB / 445.1 MB, free: 54.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008618/0.2154, allocations: 0.7201 MB / 445.8 MB, free: 54.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.2176, allocations: 2.424 MB / 448.2 MB, free: 52.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000892/0.2185, allocations: 0.6849 MB / 448.9 MB, free: 52.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.2189, allocations: 376.7 kB / 449.3 MB, free: 52.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.2189, allocations: 6.938 kB / 449.3 MB, free: 52.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.2189, allocations: 45.42 kB / 449.3 MB, free: 52.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 2.766e-06/0.219, allocations: 0 / 449.3 MB, free: 52.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.002588/0.2215, allocations: 1.855 MB / 451.2 MB, free: 51.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.2216, allocations: 83.89 kB / 451.3 MB, free: 51.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.2219, allocations: 399.4 kB / 451.7 MB, free: 51.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.2219, allocations: 36.89 kB / 451.7 MB, free: 51.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2221, allocations: 293.7 kB / 452 MB, free: 50.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/0.2221, allocations: 185.5 kB / 452.2 MB, free: 50.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/0.2222, allocations: 102.5 kB / 452.3 MB, free: 50.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.2223, allocations: 363.6 kB / 452.6 MB, free: 50.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.2226, allocations: 275.6 kB / 452.9 MB, free: 50.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.2229, allocations: 380 kB / 453.3 MB, free: 50.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006013/0.2235, allocations: 0.6561 MB / 453.9 MB, free: 49.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2235, allocations: 0 / 453.9 MB, free: 49.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008298/0.2243, allocations: 0.7966 MB / 454.7 MB, free: 49.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2244, allocations: 6.281 kB / 454.7 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2244, allocations: 3.281 kB / 454.7 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.2246, allocations: 76.14 kB / 454.8 MB, free: 49.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/0.2253, allocations: 312 kB / 455.1 MB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.228, allocations: 6.094 MB / 461.2 MB, free: 43.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.2282, allocations: 42.66 kB / 461.2 MB, free: 43.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2282, allocations: 21.62 kB / 461.3 MB, free: 43.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002289/0.2285, allocations: 236.1 kB / 461.5 MB, free: 43.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.2285, allocations: 56.61 kB / 461.6 MB, free: 43.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008505/0.2294, allocations: 0.7485 MB / 462.3 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2294, allocations: 6.719 kB / 462.3 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2294, allocations: 3.062 kB / 462.3 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2294, allocations: 0 / 462.3 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.2309, allocations: 1.521 MB / 463.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2309, allocations: 3.031 kB / 463.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/0.2317, allocations: 318.5 kB / 464.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.2318, allocations: 100.8 kB / 464.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.2319, allocations: 13.94 kB / 464.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.233, allocations: 2.948 MB / 467.2 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.233, allocations: 3.281 kB / 467.2 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.2342, allocations: 1.234 MB / 468.4 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.2343, allocations: 47.7 kB / 468.5 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.2343, allocations: 20.59 kB / 468.5 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.2345, allocations: 34.19 kB / 468.5 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/0.2346, allocations: 52.05 kB / 468.6 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.2346, allocations: 20.19 kB / 468.6 MB, free: 39.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.2348, allocations: 278.9 kB / 468.9 MB, free: 39.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2348, allocations: 0 / 468.9 MB, free: 39.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000446/0.2352, allocations: 152.5 kB / 469 MB, free: 39.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,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.001313/0.2366, allocations: 1.788 MB / 470.8 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.238, allocations: 1.054 MB / 471.9 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.238, allocations: 0 / 471.9 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009392/0.2389, allocations: 0.7852 MB / 472.7 MB, free: 37.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.2394, allocations: 144.1 kB / 472.8 MB, free: 37.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005407/0.2448, allocations: 5.624 MB / 478.4 MB, free: 34.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.245, allocations: 339.6 kB / 478.8 MB, free: 34.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002613/0.2453, allocations: 132.6 kB / 478.9 MB, free: 34.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.2455, allocations: 197.4 kB / 479.1 MB, free: 33.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.2455, allocations: 0 / 479.1 MB, free: 33.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.2807, allocations: 14.33 MB / 493.4 MB, free: 31.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.315, allocations: 9.078 kB / 493.4 MB, free: 31.96 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.328751370310783]