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.001137/0.001137, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001699/0.002836, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00106/0.00106, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002392, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.027/1.027, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1071/1.134, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1371/0.1371, allocations: 29.45 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1279/0.2649, allocations: 9.539 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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=3704,variableFilter="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=3704,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.178e-05, allocations: 4.734 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004329/0.004351, allocations: 4.028 MB / 288.5 MB, free: 8.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.005764, allocations: 0.8768 MB / 289.3 MB, free: 7.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.005945, allocations: 18.28 kB / 289.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.006081, allocations: 39.52 kB / 289.4 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004085/0.006489, allocations: 168.8 kB / 289.6 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.006721, allocations: 89.5 kB / 289.7 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.007215, allocations: 407.1 kB / 290.1 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.00738, allocations: 77.25 kB / 290.1 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004466/0.007827, allocations: 292.4 kB / 290.4 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.008046, allocations: 133.5 kB / 290.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.00808, allocations: 20.62 kB / 290.6 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.496e-05/0.008125, allocations: 19.25 kB / 290.6 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.008201, allocations: 73.16 kB / 290.7 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.008285, allocations: 77.81 kB / 290.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.008547, allocations: 190.3 kB / 290.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.00856, allocations: 4.844 kB / 290.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008561, allocations: 0 / 290.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.008575, allocations: 4 kB / 290.9 MB, free: 7.062 MB / 282.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.0007143/0.009289, allocations: 0.5431 MB / 291.5 MB, free: 6.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.009322, allocations: 17.45 kB / 291.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.009386, allocations: 31.23 kB / 291.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.009741, allocations: 267.2 kB / 291.8 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.009761, allocations: 18.56 kB / 291.8 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.009875, allocations: 36.19 kB / 291.8 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.01014, allocations: 215.7 kB / 292 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.01016, allocations: 7.984 kB / 292 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.01017, allocations: 5.969 kB / 292.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.01018, allocations: 6.438 kB / 292.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.01029, allocations: 76.52 kB / 292.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009313/0.01122, allocations: 1.06 MB / 293.2 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.0114, allocations: 100.3 kB / 293.3 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.01143, allocations: 24.33 kB / 293.3 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.01145, allocations: 2.875 kB / 293.3 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.01147, allocations: 41.44 kB / 293.4 MB, free: 5.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.01147, allocations: 0 / 293.4 MB, free: 5.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004998/0.01197, allocations: 291.9 kB / 293.6 MB, free: 4.816 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.01201, allocations: 105.1 kB / 293.7 MB, free: 4.691 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.01215, allocations: 239.8 kB / 294 MB, free: 4.508 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.01216, allocations: 26.86 kB / 294 MB, free: 4.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.01224, allocations: 181.7 kB / 294.2 MB, free: 4.312 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.01226, allocations: 41.3 kB / 294.2 MB, free: 4.277 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.01231, allocations: 51.73 kB / 294.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.01241, allocations: 336.6 kB / 294.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.01244, allocations: 17.58 kB / 294.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.709e-05/0.0125, allocations: 116 kB / 294.7 MB, free: 3.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.01262, allocations: 160.9 kB / 294.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01263, allocations: 3.938 kB / 294.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002106/0.01284, allocations: 158.8 kB / 295.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01285, allocations: 7.625 kB / 295.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.01286, allocations: 7.469 kB / 295.1 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.349e-05/0.01293, allocations: 23.84 kB / 295.1 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.01317, allocations: 75.03 kB / 295.2 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.01318, allocations: 9.422 kB / 295.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.01324, allocations: 7.109 kB / 295.2 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.01325, allocations: 12.94 kB / 295.2 MB, free: 3.473 MB / 282.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 9.016e-05/0.01334, allocations: 127.2 kB / 295.3 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.01338, allocations: 18.77 kB / 295.3 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.01352, allocations: 107 kB / 295.4 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01352, allocations: 2.188 kB / 295.4 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.01352, allocations: 6 kB / 295.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01353, allocations: 0 / 295.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.01369, allocations: 138.5 kB / 295.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0137, allocations: 0 / 295.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.01381, allocations: 39.19 kB / 295.6 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.01383, allocations: 19.86 kB / 295.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01383, allocations: 0 / 295.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.01384, allocations: 4 kB / 295.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01384, allocations: 4 kB / 295.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01384, allocations: 3.984 kB / 295.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.01404, allocations: 292.1 kB / 295.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.01406, allocations: 8 kB / 295.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.01412, allocations: 0 / 295.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.868e-05/0.01414, allocations: 11.97 kB / 296 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.01415, allocations: 0 / 296 MB, free: 2.758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.463e-05/0.0142, allocations: 78.78 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0142, allocations: 0 / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.0144, allocations: 48 kB / 296.1 MB, free: 2.633 MB / 282.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 8.008e-05/0.01448, allocations: 84.44 kB / 296.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.01465, allocations: 111.3 kB / 296.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.01466, allocations: 8 kB / 296.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.98e-05/0.01471, allocations: 42.55 kB / 296.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.01513, allocations: 496.7 kB / 296.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.0184, allocations: 0.5508 MB / 297.4 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.654e-05/0.01846, allocations: 96.3 kB / 297.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.01854, allocations: 30.28 kB / 297.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.01865, allocations: 103.2 kB / 297.6 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01865, allocations: 0 / 297.6 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of Templates: time 0.004571/0.02322, allocations: 2.655 MB / 300.2 MB, free: 14.38 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7785530127584934]