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.001517/0.001517, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001673/0.001673, allocations: 170.6 kB / 24.91 MB, free: 8.723 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.18/1.18, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.3115/0.3115, allocations: 29.42 MB / 291.2 MB, free: 2.418 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.693e-06/1.693e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.535e-05, allocations: 3.297 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.00433/0.004345, allocations: 3.976 MB / 320.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.005679, allocations: 0.8691 MB / 321.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.005836, allocations: 23.81 kB / 321.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.005995, allocations: 47.56 kB / 321.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.006367, allocations: 155 kB / 322 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.006545, allocations: 91.73 kB / 322.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000491/0.007036, allocations: 414.4 kB / 322.5 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.00719, allocations: 80.64 kB / 322.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004054/0.007595, allocations: 283.2 kB / 322.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.007793, allocations: 135.6 kB / 322.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.007821, allocations: 16 kB / 323 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.827e-05/0.007849, allocations: 20 kB / 323 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.007929, allocations: 99.66 kB / 323.1 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.008007, allocations: 91.77 kB / 323.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.008218, allocations: 195.2 kB / 323.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.008221, allocations: 3.984 kB / 323.4 MB, free: 9.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.008222, allocations: 0 / 323.4 MB, free: 9.461 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.008227, allocations: 4 kB / 323.4 MB, free: 9.457 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.0005237/0.008751, allocations: 496.4 kB / 323.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.00878, allocations: 11.98 kB / 323.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.008833, allocations: 36.91 kB / 323.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.009113, allocations: 260.6 kB / 324.2 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.009129, allocations: 20.88 kB / 324.2 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.009236, allocations: 32.69 kB / 324.2 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.009459, allocations: 227 kB / 324.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.00947, allocations: 7.938 kB / 324.4 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.009484, allocations: 4 kB / 324.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.009493, allocations: 11.94 kB / 324.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.009595, allocations: 71.88 kB / 324.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008185/0.01041, allocations: 1.052 MB / 325.6 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.01057, allocations: 99.62 kB / 325.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.0106, allocations: 30.58 kB / 325.7 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.01061, allocations: 3.984 kB / 325.7 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.01063, allocations: 38.56 kB / 325.7 MB, free: 6.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.01063, allocations: 0 / 325.7 MB, free: 6.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007062/0.01134, allocations: 277.6 kB / 326 MB, free: 6.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.01138, allocations: 110.8 kB / 326.1 MB, free: 6.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.0115, allocations: 240.9 kB / 326.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.01152, allocations: 25.7 kB / 326.4 MB, free: 6.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.01158, allocations: 176.6 kB / 326.6 MB, free: 5.992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.01161, allocations: 47.61 kB / 326.6 MB, free: 5.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.01165, allocations: 41.55 kB / 326.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.01173, allocations: 338.8 kB / 327 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.01175, allocations: 15.98 kB / 327 MB, free: 5.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.01182, allocations: 118.5 kB / 327.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.01193, allocations: 149.1 kB / 327.2 MB, free: 5.199 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01193, allocations: 3.938 kB / 327.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001881/0.01212, allocations: 166.8 kB / 327.4 MB, free: 5.023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.01213, allocations: 4.406 kB / 327.4 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01213, allocations: 8 kB / 327.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.485e-05/0.0122, allocations: 28.84 kB / 327.5 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.01242, allocations: 71.86 kB / 327.5 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.01242, allocations: 4 kB / 327.5 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.01249, allocations: 11.95 kB / 327.5 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.0125, allocations: 8 kB / 327.5 MB, free: 4.887 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 7.833e-05/0.01257, allocations: 132.5 kB / 327.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.01261, allocations: 19.98 kB / 327.7 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.01274, allocations: 96.67 kB / 327.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01274, allocations: 4 kB / 327.8 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01274, allocations: 0 / 327.8 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01275, allocations: 4 kB / 327.8 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.01291, allocations: 141.7 kB / 327.9 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01291, allocations: 0 / 327.9 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-05/0.01301, allocations: 31.97 kB / 328 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01301, allocations: 0 / 328 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.01302, allocations: 15.94 kB / 328 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01302, allocations: 80 / 328 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01302, allocations: 11.97 kB / 328 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.01321, allocations: 297.1 kB / 328.3 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.01323, allocations: 23.81 kB / 328.3 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.01325, allocations: 0 / 328.3 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.01332, allocations: 7.984 kB / 328.3 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.01334, allocations: 7.984 kB / 328.3 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.01334, allocations: 4 kB / 328.3 MB, free: 4.051 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.088e-05/0.0134, allocations: 74.78 kB / 328.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0134, allocations: 0 / 328.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.0136, allocations: 51.98 kB / 328.5 MB, free: 3.926 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 6.814e-05/0.01366, allocations: 84.39 kB / 328.5 MB, free: 3.836 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.01382, allocations: 98.03 kB / 328.6 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.01383, allocations: 4 kB / 328.6 MB, free: 3.727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.01386, allocations: 34.53 kB / 328.7 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.01414, allocations: 61.86 kB / 328.7 MB, free: 3.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008086/0.01494, allocations: 0.5404 MB / 329.3 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.994e-05/0.015, allocations: 100.2 kB / 329.4 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.834e-05/0.01507, allocations: 26.3 kB / 329.4 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.01518, allocations: 99.33 kB / 329.5 MB, free: 2.828 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01518, allocations: 0 / 329.5 MB, free: 2.828 MB / 298.7 MB Notification: Performance of Templates: time 0.004258/0.01944, allocations: 2.563 MB / 332.1 MB, free: 324 kB / 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 -s gbode -gbm=radauIIA3 -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.0955614587292075]