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.001044/0.001044, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.002447, allocations: 449.7 kB / 10.37 MB, free: 328 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.00103/0.00103, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.00241, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.919/0.919, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08472/1.004, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.1137/0.1137, allocations: 29.44 MB / 273.4 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1177/0.2314, allocations: 9.525 MB / 283 MB, free: 12.85 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.333e-06/1.333e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.308e-05, allocations: 3.625 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.003795/0.003808, allocations: 4.001 MB / 288.2 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.004959, allocations: 0.8754 MB / 289.1 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.005094, allocations: 15.75 kB / 289.1 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.005276, allocations: 51.03 kB / 289.2 MB, free: 8.012 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.00556, allocations: 161 kB / 289.3 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.005718, allocations: 89.17 kB / 289.4 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.006053, allocations: 410.2 kB / 289.8 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.006204, allocations: 73.94 kB / 289.9 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.006557, allocations: 296.7 kB / 290.2 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.006739, allocations: 129.5 kB / 290.3 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.006769, allocations: 19.25 kB / 290.3 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.202e-05/0.006801, allocations: 20.62 kB / 290.4 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.18e-05/0.006873, allocations: 83.69 kB / 290.4 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.006954, allocations: 77.81 kB / 290.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.007178, allocations: 183.4 kB / 290.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.629e-05/0.007195, allocations: 5.375 kB / 290.7 MB, free: 7.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007196, allocations: 0 / 290.7 MB, free: 7.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.007211, allocations: 0 / 290.7 MB, free: 7.148 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.0006612/0.007872, allocations: 0.5428 MB / 291.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.007904, allocations: 9.812 kB / 291.3 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/0.007966, allocations: 35.25 kB / 291.3 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.008255, allocations: 263 kB / 291.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.008274, allocations: 18.28 kB / 291.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.008378, allocations: 42.75 kB / 291.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.008597, allocations: 219.7 kB / 291.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.008607, allocations: 1.281 kB / 291.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.008624, allocations: 6.656 kB / 291.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.008634, allocations: 5.406 kB / 291.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.00874, allocations: 76.45 kB / 291.9 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.00986, allocations: 1.053 MB / 293 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.01005, allocations: 105 kB / 293.1 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.01008, allocations: 27.67 kB / 293.1 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.0101, allocations: 6.188 kB / 293.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.01012, allocations: 41.33 kB / 293.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.01013, allocations: 4 kB / 293.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004956/0.01062, allocations: 283.5 kB / 293.4 MB, free: 4.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.01067, allocations: 109.3 kB / 293.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.01081, allocations: 239.2 kB / 293.8 MB, free: 4.598 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.01082, allocations: 27.33 kB / 293.8 MB, free: 4.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.0109, allocations: 182.4 kB / 294 MB, free: 4.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.01093, allocations: 45.06 kB / 294 MB, free: 4.359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.01098, allocations: 40.28 kB / 294 MB, free: 4.328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.01107, allocations: 343.5 kB / 294.4 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.01109, allocations: 18.14 kB / 294.4 MB, free: 3.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/0.01117, allocations: 108.2 kB / 294.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.01129, allocations: 150.5 kB / 294.6 MB, free: 3.719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01129, allocations: 3.938 kB / 294.7 MB, free: 3.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001942/0.01149, allocations: 169.6 kB / 294.8 MB, free: 3.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.0115, allocations: 6.656 kB / 294.8 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.01151, allocations: 3.188 kB / 294.8 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.589e-05/0.01157, allocations: 19.97 kB / 294.8 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.01182, allocations: 74.55 kB / 294.9 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.01183, allocations: 4.938 kB / 294.9 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.01189, allocations: 15.45 kB / 294.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.0119, allocations: 6.875 kB / 294.9 MB, free: 3.566 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 7.932e-05/0.01198, allocations: 146.5 kB / 295.1 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.01201, allocations: 14.48 kB / 295.1 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.01214, allocations: 103 kB / 295.2 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01214, allocations: 2.312 kB / 295.2 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01214, allocations: 0 / 295.2 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01214, allocations: 2 kB / 295.2 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.0123, allocations: 133.9 kB / 295.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.0123, allocations: 0 / 295.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.0124, allocations: 36.42 kB / 295.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.01242, allocations: 24.72 kB / 295.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01243, allocations: 3.5 kB / 295.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.01243, allocations: 0 / 295.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01243, allocations: 0 / 295.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01244, allocations: 1.812 kB / 295.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.01261, allocations: 296.4 kB / 295.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.01263, allocations: 7.938 kB / 295.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.0127, allocations: 4 kB / 295.7 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.01271, allocations: 7.984 kB / 295.7 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.01272, allocations: 4 kB / 295.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.265e-05/0.01277, allocations: 78.77 kB / 295.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01277, allocations: 4.031 kB / 295.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.01296, allocations: 44 kB / 295.8 MB, free: 2.754 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 7.139e-05/0.01303, allocations: 88.34 kB / 295.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.0132, allocations: 99.14 kB / 296 MB, free: 2.555 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.01321, allocations: 4.812 kB / 296 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.01324, allocations: 40.77 kB / 296.1 MB, free: 2.508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.01351, allocations: 85.5 kB / 296.2 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.01699, allocations: 0.5511 MB / 296.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.798e-05/0.01705, allocations: 100.3 kB / 296.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.697e-05/0.01713, allocations: 34.2 kB / 296.8 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.01723, allocations: 91.34 kB / 296.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01724, allocations: 0 / 296.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of Templates: time 0.004221/0.02146, allocations: 2.652 MB / 299.6 MB, free: 15.02 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.622710601426661]