Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001817/0.001817, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.002358/0.002358, allocations: 212.9 kB / 23.74 MB, free: 4.688 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.1825/0.1825, allocations: 38.54 MB / 352.5 MB, free: 12.57 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.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",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.002013/0.002013, allocations: 66.56 kB / 492.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3311, allocations: 62.46 MB / 0.542 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006182/0.3373, allocations: 4.367 MB / 0.5463 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3393, allocations: 0.9886 MB / 0.5472 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.3395, allocations: 19.75 kB / 0.5473 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.3397, allocations: 55.98 kB / 0.5473 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006388/0.3403, allocations: 200.2 kB / 0.5475 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.3406, allocations: 108.8 kB / 0.5476 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.3412, allocations: 487 kB / 0.5481 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.3414, allocations: 86.97 kB / 0.5481 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.3418, allocations: 228.3 kB / 0.5484 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004144/0.3422, allocations: 255.1 kB / 0.5486 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.3422, allocations: 27.38 kB / 0.5486 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.3423, allocations: 30.16 kB / 0.5487 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3425, allocations: 131 kB / 0.5488 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.3427, allocations: 175.8 kB / 0.549 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00053/0.3432, allocations: 389.4 kB / 0.5493 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3432, allocations: 0 / 0.5493 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3432, allocations: 0 / 0.5493 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3432, allocations: 0 / 0.5493 GB, free: 10.87 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001481/0.3447, allocations: 0.6331 MB / 0.5499 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3447, allocations: 14.27 kB / 0.55 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.393e-05/0.3448, allocations: 63.27 kB / 0.55 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.345, allocations: 50.98 kB / 0.5501 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.3457, allocations: 335.5 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.3457, allocations: 20.28 kB / 0.5504 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.3458, allocations: 23.91 kB / 0.5504 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.3464, allocations: 363.1 kB / 0.5508 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.3464, allocations: 4.906 kB / 0.5508 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.3464, allocations: 11.5 kB / 0.5508 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3464, allocations: 10.41 kB / 0.5508 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.3469, allocations: 253.5 kB / 0.551 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.3489, allocations: 1.405 MB / 0.5524 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.3492, allocations: 146.2 kB / 0.5526 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.3493, allocations: 78.58 kB / 0.5526 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.3493, allocations: 10.08 kB / 0.5526 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.3494, allocations: 39.62 kB / 0.5527 GB, free: 8.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.3494, allocations: 1.031 kB / 0.5527 GB, free: 8.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001155/0.3505, allocations: 0.6061 MB / 0.5533 GB, free: 7.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.3506, allocations: 83.73 kB / 0.5533 GB, free: 7.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.351, allocations: 296.6 kB / 0.5536 GB, free: 7.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.351, allocations: 34.78 kB / 0.5537 GB, free: 7.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.3512, allocations: 223.9 kB / 0.5539 GB, free: 7.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/0.3513, allocations: 56.12 kB / 0.5539 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.454e-05/0.3513, allocations: 51.44 kB / 0.554 GB, free: 7.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3515, allocations: 341.3 kB / 0.5543 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3516, allocations: 67.12 kB / 0.5544 GB, free: 6.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.3518, allocations: 175 kB / 0.5545 GB, free: 6.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.3522, allocations: 256 kB / 0.5548 GB, free: 6.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3522, allocations: 1.406 kB / 0.5548 GB, free: 6.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004278/0.3526, allocations: 287.9 kB / 0.5551 GB, free: 6.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3526, allocations: 6.656 kB / 0.5551 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3526, allocations: 3.375 kB / 0.5551 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3526, allocations: 5.406 kB / 0.5551 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.3529, allocations: 62.84 kB / 0.5551 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3529, allocations: 6 kB / 0.5551 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.3531, allocations: 18.48 kB / 0.5552 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.3531, allocations: 9.875 kB / 0.5552 GB, free: 6.16 MB / 398.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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.3533, allocations: 162.6 kB / 0.5553 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.3533, allocations: 37.31 kB / 0.5554 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.3537, allocations: 234.9 kB / 0.5556 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3537, allocations: 2.312 kB / 0.5556 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3537, allocations: 1.469 kB / 0.5556 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3537, allocations: 4 kB / 0.5556 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008976/0.3546, allocations: 0.6088 MB / 0.5562 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3546, allocations: 0 / 0.5562 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.3549, allocations: 37.39 kB / 0.5562 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3549, allocations: 1.156 kB / 0.5562 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.3549, allocations: 9.766 kB / 0.5562 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3549, allocations: 2.25 kB / 0.5562 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3549, allocations: 1.156 kB / 0.5562 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.3556, allocations: 431.2 kB / 0.5566 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.3556, allocations: 27.84 kB / 0.5567 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.3557, allocations: 4 kB / 0.5567 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.3558, allocations: 7.984 kB / 0.5567 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3559, allocations: 15.97 kB / 0.5567 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3559, allocations: 11.94 kB / 0.5567 GB, free: 4.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000287/0.3562, allocations: 211.1 kB / 0.5569 GB, free: 4.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3562, allocations: 4 kB / 0.5569 GB, free: 4.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003961/0.3566, allocations: 56 kB / 0.557 GB, free: 4.711 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0009605/0.3575, allocations: 0.9545 MB / 0.5579 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004011/0.3579, allocations: 183.7 kB / 0.5581 GB, free: 3.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3579, allocations: 4 kB / 0.5581 GB, free: 3.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.3581, allocations: 79.89 kB / 0.5582 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.3587, allocations: 87.72 kB / 0.5582 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.3624, allocations: 2.901 MB / 0.5611 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.363, allocations: 0.8065 MB / 0.5619 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002394/0.3633, allocations: 54.92 kB / 0.5619 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.3635, allocations: 103.4 kB / 0.562 GB, free: 15.32 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3635, allocations: 0 / 0.562 GB, free: 15.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.3989, allocations: 6.308 MB / 0.5682 GB, free: 9.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.23, allocations: 18.38 kB / 0.5682 GB, free: 9.141 MB / 414.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv failed! Error: Could not read variable meter.p in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv. Warning: Get data of variable meter.p from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv failed! Error: Could not read variable meter.v in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv. Warning: Get data of variable meter.v from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.249974113001372]