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.001164/0.001164, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001395/0.001395, allocations: 169.9 kB / 24.91 MB, free: 9.195 MB / 18.57 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.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2549/0.2549, allocations: 29.43 MB / 291.2 MB, free: 2.477 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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=3704,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=3704,variableFilter="Time|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.984e-06/1.984e-06, allocations: 0 / 316.9 MB, free: 12 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.753e-05, allocations: 7.625 kB / 316.9 MB, free: 4 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004717/0.004745, allocations: 3.926 MB / 320.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.006344, allocations: 0.873 MB / 321.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.006606, allocations: 11.88 kB / 321.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.00685, allocations: 43.58 kB / 321.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006304/0.007481, allocations: 170.9 kB / 321.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.007778, allocations: 95.73 kB / 322 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005537/0.008332, allocations: 406.4 kB / 322.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.008563, allocations: 76.66 kB / 322.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.009198, allocations: 279.2 kB / 322.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.009502, allocations: 135.6 kB / 322.8 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.572e-05/0.009547, allocations: 23.94 kB / 322.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.274e-05/0.00959, allocations: 20 kB / 322.9 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.009699, allocations: 99.72 kB / 323 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.009803, allocations: 91.77 kB / 323.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.01012, allocations: 195.2 kB / 323.3 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01012, allocations: 0 / 323.3 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01013, allocations: 0 / 323.3 MB, free: 9.559 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.01013, allocations: 0 / 323.3 MB, free: 9.559 MB / 298.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.0007665/0.0109, allocations: 0.4925 MB / 323.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.01094, allocations: 15.98 kB / 323.8 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.571e-05/0.01102, allocations: 40.91 kB / 323.8 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.0114, allocations: 260.6 kB / 324.1 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.01142, allocations: 20.88 kB / 324.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.01157, allocations: 28.69 kB / 324.1 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.01182, allocations: 223 kB / 324.3 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.01184, allocations: 7.938 kB / 324.3 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.01186, allocations: 4 kB / 324.4 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.01187, allocations: 8 kB / 324.4 MB, free: 8.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.706e-05/0.01196, allocations: 67.89 kB / 324.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.01318, allocations: 1.056 MB / 325.5 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.01347, allocations: 99.62 kB / 325.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.01351, allocations: 26.64 kB / 325.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.01353, allocations: 7.938 kB / 325.6 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.01358, allocations: 42.55 kB / 325.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 3.266e-06/0.01358, allocations: 0 / 325.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008026/0.01438, allocations: 276.9 kB / 325.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.01445, allocations: 106.8 kB / 326 MB, free: 6.547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.01463, allocations: 236.9 kB / 326.3 MB, free: 6.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.01465, allocations: 25.7 kB / 326.3 MB, free: 6.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.01477, allocations: 184.8 kB / 326.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.01481, allocations: 47.61 kB / 326.5 MB, free: 6.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.01488, allocations: 41.55 kB / 326.6 MB, free: 5.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.01502, allocations: 342.8 kB / 326.9 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.01505, allocations: 15.98 kB / 326.9 MB, free: 5.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.01515, allocations: 106.4 kB / 327 MB, free: 5.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.01529, allocations: 156.7 kB / 327.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.0153, allocations: 3.938 kB / 327.2 MB, free: 5.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002514/0.01555, allocations: 170.9 kB / 327.3 MB, free: 5.113 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01556, allocations: 4 kB / 327.3 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.01558, allocations: 4 kB / 327.3 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.412e-05/0.01567, allocations: 20.84 kB / 327.4 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.01586, allocations: 59.89 kB / 327.4 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.01587, allocations: 8.531 kB / 327.4 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.183e-05/0.01594, allocations: 12.36 kB / 327.4 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.01595, allocations: 12 kB / 327.4 MB, free: 4.992 MB / 298.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 0.0001144/0.01607, allocations: 128.5 kB / 327.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.01611, allocations: 15.98 kB / 327.6 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.0163, allocations: 107.2 kB / 327.7 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.01631, allocations: 11.92 kB / 327.7 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01631, allocations: 0 / 327.7 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.01632, allocations: 0 / 327.7 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.01652, allocations: 137.7 kB / 327.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01652, allocations: 0 / 327.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.01663, allocations: 35.98 kB / 327.9 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.01663, allocations: 0 / 327.9 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.01665, allocations: 8 kB / 327.9 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01665, allocations: 3.984 kB / 327.9 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01665, allocations: 0 / 327.9 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.01692, allocations: 292.3 kB / 328.2 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.01695, allocations: 27.8 kB / 328.2 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.01698, allocations: 3.984 kB / 328.2 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.01706, allocations: 8 kB / 328.2 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.01708, allocations: 3.984 kB / 328.2 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.01709, allocations: 8.031 kB / 328.2 MB, free: 4.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.776e-05/0.01716, allocations: 78.77 kB / 328.3 MB, free: 4.086 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01716, allocations: 0 / 328.3 MB, free: 4.086 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.0174, allocations: 48 kB / 328.3 MB, free: 4.039 MB / 298.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 0.0001427/0.01754, allocations: 80.36 kB / 328.4 MB, free: 3.953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.01778, allocations: 98.59 kB / 328.5 MB, free: 3.848 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.01779, allocations: 4.25 kB / 328.5 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.01784, allocations: 40.78 kB / 328.6 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.01818, allocations: 54.14 kB / 328.6 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.01941, allocations: 0.5444 MB / 329.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.56e-05/0.01949, allocations: 96.3 kB / 329.3 MB, free: 3.062 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.01959, allocations: 26.28 kB / 329.3 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.01973, allocations: 91.34 kB / 329.4 MB, free: 2.949 MB / 298.7 MB Notification: Performance of SimCode: time 1.272e-06/0.01974, allocations: 0 / 329.4 MB, free: 2.949 MB / 298.7 MB Notification: Performance of Templates: time 0.006147/0.02588, allocations: 2.474 MB / 331.8 MB, free: 0.5234 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1257604472339153]