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.00132/0.00132, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001496/0.001496, allocations: 209.4 kB / 23.74 MB, free: 4.66 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.1857/0.1857, allocations: 38.52 MB / 352.5 MB, free: 12.55 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.002163/0.002163, allocations: 62.88 kB / 492.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3163, allocations: 62.47 MB / 0.542 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006346/0.3226, allocations: 4.24 MB / 0.5461 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3244, allocations: 0.886 MB / 0.547 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.3246, allocations: 18.75 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.3248, allocations: 51.62 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000525/0.3253, allocations: 168.6 kB / 0.5472 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.3256, allocations: 76.97 kB / 0.5473 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005407/0.3261, allocations: 409.1 kB / 0.5477 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.3263, allocations: 68.2 kB / 0.5478 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.3267, allocations: 193.8 kB / 0.548 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.3271, allocations: 186.8 kB / 0.5481 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.3271, allocations: 20.38 kB / 0.5481 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.995e-05/0.3272, allocations: 20.75 kB / 0.5482 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.3273, allocations: 92.81 kB / 0.5483 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.3275, allocations: 146.3 kB / 0.5484 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.3279, allocations: 288.1 kB / 0.5487 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3279, allocations: 0 / 0.5487 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3279, allocations: 5.156 kB / 0.5487 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3279, allocations: 0 / 0.5487 GB, free: 11.3 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.001262/0.3292, allocations: 0.5278 MB / 0.5492 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.3292, allocations: 13.08 kB / 0.5492 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.794e-05/0.3293, allocations: 62.44 kB / 0.5493 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.3294, allocations: 31.94 kB / 0.5493 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.3301, allocations: 267.4 kB / 0.5495 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.3301, allocations: 21.66 kB / 0.5496 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.3303, allocations: 42.81 kB / 0.5496 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005969/0.3309, allocations: 291.3 kB / 0.5499 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3309, allocations: 7.938 kB / 0.5499 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.3309, allocations: 14.75 kB / 0.5499 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3309, allocations: 5.312 kB / 0.5499 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.3313, allocations: 183.1 kB / 0.5501 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.3331, allocations: 1.238 MB / 0.5513 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.3335, allocations: 117.2 kB / 0.5514 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.3336, allocations: 45.19 kB / 0.5515 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3336, allocations: 1.5 kB / 0.5515 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.3336, allocations: 40.03 kB / 0.5515 GB, free: 8.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.3336, allocations: 0 / 0.5515 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001225/0.3348, allocations: 469.1 kB / 0.5519 GB, free: 8.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.941e-05/0.3349, allocations: 108.4 kB / 0.552 GB, free: 8.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.3352, allocations: 251.8 kB / 0.5523 GB, free: 8.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3353, allocations: 31.27 kB / 0.5523 GB, free: 8.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.3354, allocations: 192.5 kB / 0.5525 GB, free: 7.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.3355, allocations: 41.83 kB / 0.5525 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.3356, allocations: 44.14 kB / 0.5526 GB, free: 7.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.3358, allocations: 331.4 kB / 0.5529 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/0.3359, allocations: 37.83 kB / 0.5529 GB, free: 7.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.336, allocations: 128.4 kB / 0.5531 GB, free: 7.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.3363, allocations: 193.8 kB / 0.5532 GB, free: 7.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3363, allocations: 5 kB / 0.5532 GB, free: 7.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000454/0.3368, allocations: 230.5 kB / 0.5535 GB, free: 7.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3368, allocations: 10.66 kB / 0.5535 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3368, allocations: 3.5 kB / 0.5535 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.3369, allocations: 34.38 kB / 0.5535 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.3373, allocations: 63 kB / 0.5536 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.3373, allocations: 9.312 kB / 0.5536 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.3374, allocations: 7 kB / 0.5536 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.3374, allocations: 13.47 kB / 0.5536 GB, free: 7.031 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.0001918/0.3376, allocations: 150 kB / 0.5537 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.3377, allocations: 22.67 kB / 0.5538 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.338, allocations: 152.6 kB / 0.5539 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.338, allocations: 6.156 kB / 0.5539 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.338, allocations: 1.031 kB / 0.5539 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.338, allocations: 1.125 kB / 0.5539 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.3384, allocations: 254.8 kB / 0.5542 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3384, allocations: 1.312 kB / 0.5542 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.3386, allocations: 33.73 kB / 0.5542 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3386, allocations: 1.062 kB / 0.5542 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3386, allocations: 6.422 kB / 0.5542 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.3386, allocations: 5.031 kB / 0.5542 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3386, allocations: 1.25 kB / 0.5542 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.3391, allocations: 367.3 kB / 0.5546 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.3392, allocations: 25.64 kB / 0.5546 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.3392, allocations: 6.906 kB / 0.5546 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3393, allocations: 5.375 kB / 0.5546 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.3394, allocations: 10.84 kB / 0.5546 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3394, allocations: 8.375 kB / 0.5546 GB, free: 6.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.3395, allocations: 168.8 kB / 0.5548 GB, free: 6.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3395, allocations: 0 / 0.5548 GB, free: 6.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.3399, allocations: 44.66 kB / 0.5548 GB, free: 6.051 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.0007266/0.3407, allocations: 0.8993 MB / 0.5557 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003422/0.341, allocations: 127.2 kB / 0.5558 GB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.341, allocations: 0 / 0.5558 GB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.3411, allocations: 51.05 kB / 0.5559 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.3416, allocations: 55.08 kB / 0.5559 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.3448, allocations: 2.626 MB / 0.5585 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.3453, allocations: 0.7746 MB / 0.5592 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.3454, allocations: 26.28 kB / 0.5593 GB, free: 2.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.3455, allocations: 87.41 kB / 0.5593 GB, free: 2.047 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3455, allocations: 3.938 kB / 0.5593 GB, free: 2.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.3828, allocations: 5.091 MB / 0.5643 GB, free: 13.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.69, allocations: 2.406 kB / 0.5643 GB, free: 13.09 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.582281787181273]