Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.0008964/0.0008964, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.000908/0.000908, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9253/0.9253, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2426/0.2426, allocations: 29.4 MB / 290.1 MB, free: 2.461 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.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.959e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.003809/0.003828, allocations: 4.014 MB / 434.2 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.004951, allocations: 0.8257 MB / 435.1 MB, free: 8.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.0051, allocations: 19.81 kB / 435.1 MB, free: 8.711 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.00525, allocations: 47.56 kB / 435.1 MB, free: 8.664 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.005616, allocations: 174.8 kB / 435.3 MB, free: 8.492 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.005793, allocations: 91.8 kB / 435.4 MB, free: 8.402 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.006142, allocations: 414.3 kB / 435.8 MB, free: 7.996 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.006306, allocations: 74.62 kB / 435.9 MB, free: 7.918 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006259/0.006932, allocations: 247.2 kB / 436.1 MB, free: 7.676 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.007172, allocations: 159.5 kB / 436.3 MB, free: 7.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.007205, allocations: 23.94 kB / 436.3 MB, free: 7.496 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.858e-05/0.007234, allocations: 20 kB / 436.3 MB, free: 7.477 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.007314, allocations: 95.72 kB / 436.4 MB, free: 7.383 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.446e-05/0.007398, allocations: 91.75 kB / 436.5 MB, free: 7.293 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.007693, allocations: 294.9 kB / 436.8 MB, free: 7.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.007698, allocations: 0 / 436.8 MB, free: 7.004 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.0077, allocations: 0 / 436.8 MB, free: 7.004 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.007707, allocations: 0 / 436.8 MB, free: 7.004 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000749/0.008457, allocations: 0.5255 MB / 437.3 MB, free: 6.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.008497, allocations: 19.98 kB / 437.3 MB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.008547, allocations: 54.73 kB / 437.4 MB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.008593, allocations: 40.69 kB / 437.4 MB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.00896, allocations: 265.2 kB / 437.7 MB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.008978, allocations: 16.88 kB / 437.7 MB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/0.009058, allocations: 28.75 kB / 437.7 MB, free: 6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.009349, allocations: 298.8 kB / 438 MB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.009361, allocations: 3.938 kB / 438 MB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.009383, allocations: 12 kB / 438 MB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.009391, allocations: 4 kB / 438 MB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.009595, allocations: 191.6 kB / 438.2 MB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.01063, allocations: 1.187 MB / 439.4 MB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.01088, allocations: 119.8 kB / 439.5 MB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.01093, allocations: 58.56 kB / 439.6 MB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.01095, allocations: 0 / 439.6 MB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.01097, allocations: 38.56 kB / 439.6 MB, free: 3.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.01097, allocations: 0 / 439.6 MB, free: 3.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007351/0.01171, allocations: 467.7 kB / 440.1 MB, free: 3.445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.01176, allocations: 114.8 kB / 440.2 MB, free: 3.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.01192, allocations: 237.9 kB / 440.4 MB, free: 3.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.01193, allocations: 29.7 kB / 440.4 MB, free: 3.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.801e-05/0.01202, allocations: 196.3 kB / 440.6 MB, free: 2.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.01205, allocations: 47.67 kB / 440.7 MB, free: 2.793 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.0121, allocations: 45.66 kB / 440.7 MB, free: 2.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.923e-05/0.01218, allocations: 338.8 kB / 441.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/0.01223, allocations: 39.98 kB / 441.1 MB, free: 2.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.01233, allocations: 128.1 kB / 441.2 MB, free: 2.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.01249, allocations: 191.8 kB / 441.4 MB, free: 1.965 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.0125, allocations: 4 kB / 441.4 MB, free: 1.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002818/0.01278, allocations: 234.1 kB / 441.6 MB, free: 1.723 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.0128, allocations: 8 kB / 441.6 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.0128, allocations: 0 / 441.6 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.01291, allocations: 28.84 kB / 441.7 MB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.01309, allocations: 63.88 kB / 441.7 MB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.0131, allocations: 7.938 kB / 441.7 MB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.01317, allocations: 11.94 kB / 441.8 MB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.01318, allocations: 8.312 kB / 441.8 MB, free: 1.594 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.0133, allocations: 156.3 kB / 441.9 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.01333, allocations: 23.86 kB / 441.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.01356, allocations: 147.4 kB / 442.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.01356, allocations: 0 / 442.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.01357, allocations: 0 / 442.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.01357, allocations: 7.938 kB / 442.1 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.01383, allocations: 244.6 kB / 442.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01383, allocations: 0 / 442.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.01393, allocations: 39.92 kB / 442.4 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01394, allocations: 0 / 442.4 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.01395, allocations: 4 kB / 442.4 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01395, allocations: 0 / 442.4 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01395, allocations: 0 / 442.4 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.01429, allocations: 363.5 kB / 442.7 MB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.01432, allocations: 19.84 kB / 442.7 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.01434, allocations: 8 kB / 442.8 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.01442, allocations: 0 / 442.8 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.01444, allocations: 19.86 kB / 442.8 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.01446, allocations: 4 kB / 442.8 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.01456, allocations: 177.3 kB / 443 MB, free: 328 kB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01456, allocations: 0 / 443 MB, free: 328 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.01482, allocations: 44 kB / 443 MB, free: 284 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.1657/0.1805, allocations: 0.8861 MB / 443.9 MB, free: 53.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.1808, allocations: 127.2 kB / 444 MB, free: 53.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1808, allocations: 0 / 444 MB, free: 53.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/0.1809, allocations: 49.11 kB / 444.1 MB, free: 53.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1813, allocations: 68.95 kB / 444.1 MB, free: 53.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1832, allocations: 2.542 MB / 446.7 MB, free: 52.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.1833, allocations: 171.3 kB / 446.8 MB, free: 52.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.585e-05/0.1833, allocations: 31.75 kB / 446.9 MB, free: 52.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.1834, allocations: 86.45 kB / 446.9 MB, free: 51.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.1834, allocations: 7.938 kB / 447 MB, free: 51.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.2015, allocations: 5.688 MB / 452.6 MB, free: 50.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/7.475, allocations: 6.344 kB / 452.6 MB, free: 50.74 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000270051 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv failed! Error: Could not read variable meter.i in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv. Warning: Get data of variable meter.i from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv failed! Error: Could not read variable meter.p in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv. Warning: Get data of variable meter.p from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv failed! Error: Could not read variable meter.v in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv. Warning: Get data of variable meter.v from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.551050033420324]