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.00159/0.00159, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001893/0.001893, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.566/1.566, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.1762/0.1762, allocations: 38.52 MB / 353.2 MB, free: 12.54 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3703,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3703,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [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.002323/0.002323, allocations: 63.91 kB / 493.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3277, allocations: 62.48 MB / 0.5432 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005968/0.3337, allocations: 4.222 MB / 0.5474 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.3352, allocations: 0.8977 MB / 0.5482 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.3354, allocations: 15.06 kB / 0.5482 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.3355, allocations: 48.22 kB / 0.5483 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.336, allocations: 166.6 kB / 0.5485 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.3362, allocations: 89.81 kB / 0.5485 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.3367, allocations: 401.3 kB / 0.5489 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.3369, allocations: 79.69 kB / 0.549 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.3372, allocations: 187 kB / 0.5492 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003199/0.3375, allocations: 194 kB / 0.5494 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.3376, allocations: 20.09 kB / 0.5494 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.744e-05/0.3376, allocations: 20.94 kB / 0.5494 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.3377, allocations: 85.78 kB / 0.5495 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.3379, allocations: 141.1 kB / 0.5496 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.3382, allocations: 288.3 kB / 0.5499 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3382, allocations: 5.438 kB / 0.5499 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3382, allocations: 0 / 0.5499 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3382, allocations: 0 / 0.5499 GB, free: 11.46 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.001047/0.3393, allocations: 0.5256 MB / 0.5504 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3393, allocations: 17.19 kB / 0.5504 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.3394, allocations: 35.53 kB / 0.5505 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.34, allocations: 267.4 kB / 0.5507 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.34, allocations: 18.06 kB / 0.5507 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.3401, allocations: 46.34 kB / 0.5508 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.3406, allocations: 298.8 kB / 0.5511 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3406, allocations: 1.5 kB / 0.5511 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.3406, allocations: 5.5 kB / 0.5511 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3406, allocations: 5.875 kB / 0.5511 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.3409, allocations: 187.2 kB / 0.5513 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.3426, allocations: 1.24 MB / 0.5525 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.3429, allocations: 119.4 kB / 0.5526 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.343, allocations: 44.06 kB / 0.5526 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.343, allocations: 5 kB / 0.5526 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.343, allocations: 37.27 kB / 0.5527 GB, free: 9.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.343, allocations: 0 / 0.5527 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009609/0.344, allocations: 472 kB / 0.5531 GB, free: 8.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.3441, allocations: 105.2 kB / 0.5532 GB, free: 8.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.3443, allocations: 244.1 kB / 0.5534 GB, free: 8.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3443, allocations: 31.19 kB / 0.5535 GB, free: 8.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3445, allocations: 204.1 kB / 0.5537 GB, free: 8.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.3445, allocations: 41.23 kB / 0.5537 GB, free: 8.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.3446, allocations: 44.33 kB / 0.5538 GB, free: 8.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3447, allocations: 336.2 kB / 0.5541 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.3448, allocations: 41.17 kB / 0.5541 GB, free: 7.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.345, allocations: 127.9 kB / 0.5542 GB, free: 7.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.3453, allocations: 197.8 kB / 0.5544 GB, free: 7.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3453, allocations: 1.469 kB / 0.5544 GB, free: 7.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003907/0.3457, allocations: 229.4 kB / 0.5546 GB, free: 7.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3457, allocations: 11.09 kB / 0.5547 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3457, allocations: 3.594 kB / 0.5547 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.3458, allocations: 26.38 kB / 0.5547 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.3461, allocations: 66.92 kB / 0.5547 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3461, allocations: 8.422 kB / 0.5548 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3462, allocations: 4.469 kB / 0.5548 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.3463, allocations: 12.22 kB / 0.5548 GB, free: 7.246 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.000158/0.3464, allocations: 154.6 kB / 0.5549 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.3465, allocations: 21.95 kB / 0.5549 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.3467, allocations: 149.5 kB / 0.5551 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3468, allocations: 6.438 kB / 0.5551 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3468, allocations: 1.656 kB / 0.5551 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3468, allocations: 0 / 0.5551 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.3471, allocations: 254.2 kB / 0.5553 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3471, allocations: 5.094 kB / 0.5553 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3473, allocations: 29.77 kB / 0.5554 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3473, allocations: 2.375 kB / 0.5554 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3473, allocations: 1.219 kB / 0.5554 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.3473, allocations: 9.016 kB / 0.5554 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3473, allocations: 1.188 kB / 0.5554 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.3477, allocations: 367.6 kB / 0.5557 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-05/0.3478, allocations: 18.64 kB / 0.5557 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.3478, allocations: 6.5 kB / 0.5557 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.3479, allocations: 9.094 kB / 0.5558 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.348, allocations: 11.42 kB / 0.5558 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.348, allocations: 7.641 kB / 0.5558 GB, free: 6.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.3481, allocations: 169.1 kB / 0.5559 GB, free: 6.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3481, allocations: 0 / 0.5559 GB, free: 6.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000343/0.3485, allocations: 45.78 kB / 0.556 GB, free: 6.27 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.000103/0.3486, allocations: 103.5 kB / 0.5561 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.3489, allocations: 134.3 kB / 0.5562 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3489, allocations: 1.188 kB / 0.5562 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.349, allocations: 46.95 kB / 0.5563 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.3495, allocations: 56.16 kB / 0.5563 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.3505, allocations: 0.6467 MB / 0.5569 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.3509, allocations: 0.7692 MB / 0.5577 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.351, allocations: 25 kB / 0.5577 GB, free: 4.812 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.351, allocations: 5.031 kB / 0.5577 GB, free: 4.809 MB / 398.1 MB Notification: Performance of Templates: time 0.005927/0.3569, allocations: 3.524 MB / 0.5612 GB, free: 1.535 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480] 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: 7.646618743892759]