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.001625/0.001625, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001847/0.001847, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2148/0.2148, 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.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: 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.0021/0.0021, allocations: 71.88 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3588, allocations: 62.46 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006224/0.3651, allocations: 4.034 MB / 0.5459 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3666, allocations: 0.8288 MB / 0.5467 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.3668, allocations: 14.81 kB / 0.5467 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.367, allocations: 44.17 kB / 0.5467 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.3676, allocations: 171.9 kB / 0.5469 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.3679, allocations: 85.41 kB / 0.547 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000563/0.3684, allocations: 397.2 kB / 0.5474 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.3686, allocations: 71.25 kB / 0.5474 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.3691, allocations: 195 kB / 0.5476 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.3694, allocations: 178.3 kB / 0.5478 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.3695, allocations: 20.34 kB / 0.5478 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.3695, allocations: 21.09 kB / 0.5478 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.3697, allocations: 96.73 kB / 0.5479 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.3698, allocations: 110.8 kB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.3703, allocations: 291 kB / 0.5483 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3703, allocations: 0 / 0.5483 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3703, allocations: 5.156 kB / 0.5483 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.3703, allocations: 0 / 0.5483 GB, free: 11.43 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001277/0.3716, allocations: 0.5289 MB / 0.5488 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.3716, allocations: 14.77 kB / 0.5488 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.392e-05/0.3717, allocations: 57.66 kB / 0.5489 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.3718, allocations: 31.94 kB / 0.5489 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.3725, allocations: 279 kB / 0.5492 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.3725, allocations: 21.66 kB / 0.5492 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.3726, allocations: 38.2 kB / 0.5493 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.3731, allocations: 290.4 kB / 0.5495 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3731, allocations: 7.875 kB / 0.5495 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.3732, allocations: 11.03 kB / 0.5495 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3732, allocations: 5.375 kB / 0.5496 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.3735, allocations: 182.2 kB / 0.5497 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.3752, allocations: 1.19 MB / 0.5509 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.3755, allocations: 118.6 kB / 0.551 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.3756, allocations: 44.03 kB / 0.551 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3756, allocations: 3.031 kB / 0.551 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.3756, allocations: 32.12 kB / 0.5511 GB, free: 9.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 4.859e-06/0.3756, allocations: 4 kB / 0.5511 GB, free: 9.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001035/0.3767, allocations: 464.7 kB / 0.5515 GB, free: 8.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/0.3768, allocations: 109.4 kB / 0.5516 GB, free: 8.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.3771, allocations: 253.9 kB / 0.5519 GB, free: 8.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.3771, allocations: 25.7 kB / 0.5519 GB, free: 8.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.3773, allocations: 204.5 kB / 0.5521 GB, free: 8.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.3773, allocations: 41.12 kB / 0.5521 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.609e-05/0.3774, allocations: 45.12 kB / 0.5522 GB, free: 8.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3776, allocations: 336.5 kB / 0.5525 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.3777, allocations: 40.36 kB / 0.5525 GB, free: 7.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.3778, allocations: 128.8 kB / 0.5527 GB, free: 7.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.3781, allocations: 199.4 kB / 0.5528 GB, free: 7.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3781, allocations: 0.9688 kB / 0.5528 GB, free: 7.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004284/0.3785, allocations: 223.7 kB / 0.5531 GB, free: 7.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3785, allocations: 10.41 kB / 0.5531 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3785, allocations: 3.094 kB / 0.5531 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.3787, allocations: 38.25 kB / 0.5531 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.3791, allocations: 56.33 kB / 0.5532 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.3791, allocations: 7.781 kB / 0.5532 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.3792, allocations: 11.89 kB / 0.5532 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.3792, allocations: 8.469 kB / 0.5532 GB, free: 7.215 MB / 398.1 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.0001752/0.3794, allocations: 147.5 kB / 0.5533 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.3795, allocations: 25.55 kB / 0.5534 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.3797, allocations: 146 kB / 0.5535 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.3798, allocations: 6.312 kB / 0.5535 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3798, allocations: 1.031 kB / 0.5535 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.3798, allocations: 5.109 kB / 0.5535 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.3802, allocations: 242.1 kB / 0.5537 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3802, allocations: 1.125 kB / 0.5537 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.3803, allocations: 30.73 kB / 0.5538 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3804, allocations: 5.047 kB / 0.5538 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.3804, allocations: 9.172 kB / 0.5538 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3804, allocations: 9.25 kB / 0.5538 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3804, allocations: 1.062 kB / 0.5538 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.3808, allocations: 369.7 kB / 0.5541 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.3809, allocations: 18.45 kB / 0.5542 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.3809, allocations: 2.219 kB / 0.5542 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3811, allocations: 9.094 kB / 0.5542 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.3811, allocations: 15.25 kB / 0.5542 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3811, allocations: 3.812 kB / 0.5542 GB, free: 6.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.3813, allocations: 169 kB / 0.5544 GB, free: 6.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3813, allocations: 0 / 0.5544 GB, free: 6.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000373/0.3817, allocations: 50 kB / 0.5544 GB, free: 6.246 MB / 398.1 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.0007399/0.3824, allocations: 0.8965 MB / 0.5553 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003389/0.3827, allocations: 126.7 kB / 0.5554 GB, free: 5.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3827, allocations: 0 / 0.5554 GB, free: 5.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.223e-05/0.3828, allocations: 48.98 kB / 0.5554 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005816/0.3834, allocations: 60.2 kB / 0.5555 GB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.3869, allocations: 2.636 MB / 0.5581 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.3871, allocations: 154.8 kB / 0.5582 GB, free: 2.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.3872, allocations: 38.27 kB / 0.5583 GB, free: 2.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3874, allocations: 87.41 kB / 0.5583 GB, free: 2.746 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3874, allocations: 0 / 0.5583 GB, free: 2.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/0.4302, allocations: 5.558 MB / 0.5638 GB, free: 13.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.95, allocations: 2.75 kB / 0.5638 GB, free: 13.35 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC_fmu --startTime=0 --stopTime=1 --stepSize=0.000270051 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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: 14.943954455200583]