Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001016/0.001016, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.002493, 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.0009798/0.0009798, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.00226, 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 1.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1147/1.116, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.128/0.128, allocations: 29.45 MB / 273.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.125/0.253, allocations: 9.533 MB / 283 MB, free: 12.84 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.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.051e-05, allocations: 3.562 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004423/0.004444, allocations: 4.06 MB / 288.3 MB, free: 8.715 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.005859, allocations: 0.9658 MB / 289.3 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.006049, allocations: 19.53 kB / 289.3 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.006182, allocations: 54.27 kB / 289.3 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.006601, allocations: 242.2 kB / 289.6 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.006835, allocations: 103.4 kB / 289.7 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005146/0.00735, allocations: 0.5089 MB / 290.2 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.007532, allocations: 95.55 kB / 290.3 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005065/0.008038, allocations: 359.5 kB / 290.6 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.008341, allocations: 214.5 kB / 290.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.00838, allocations: 22 kB / 290.9 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.858e-05/0.008429, allocations: 22 kB / 290.9 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.008548, allocations: 146 kB / 291 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.008662, allocations: 93.31 kB / 291.1 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.00897, allocations: 239 kB / 291.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.631e-05/0.008986, allocations: 3.938 kB / 291.4 MB, free: 6.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008987, allocations: 0 / 291.4 MB, free: 6.789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.009004, allocations: 4 kB / 291.4 MB, free: 6.785 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007904/0.009794, allocations: 0.6083 MB / 292 MB, free: 6.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.009826, allocations: 9.781 kB / 292 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/0.009897, allocations: 45.8 kB / 292 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.01023, allocations: 297.9 kB / 292.3 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.01025, allocations: 18.22 kB / 292.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.01029, allocations: 25.5 kB / 292.4 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.01056, allocations: 248.3 kB / 292.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.01057, allocations: 1.469 kB / 292.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.01059, allocations: 10.97 kB / 292.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.824e-05/0.01067, allocations: 20.17 kB / 292.6 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.0108, allocations: 85.62 kB / 292.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009078/0.01171, allocations: 1.035 MB / 293.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.01193, allocations: 166.6 kB / 293.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/0.01201, allocations: 45.97 kB / 294 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.01202, allocations: 3.281 kB / 294 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.01205, allocations: 36.05 kB / 294 MB, free: 4.707 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.01205, allocations: 1.031 kB / 294 MB, free: 4.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004092/0.01246, allocations: 175.2 kB / 294.2 MB, free: 4.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.0125, allocations: 83.17 kB / 294.2 MB, free: 4.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.01265, allocations: 267.4 kB / 294.5 MB, free: 4.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.01266, allocations: 27.45 kB / 294.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.01274, allocations: 203.1 kB / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.01278, allocations: 51.58 kB / 294.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.01282, allocations: 49.91 kB / 294.8 MB, free: 4 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.0129, allocations: 342.7 kB / 295.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/0.01294, allocations: 23.28 kB / 295.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.013, allocations: 112.9 kB / 295.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.01312, allocations: 159.5 kB / 295.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01312, allocations: 0 / 295.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001871/0.01331, allocations: 187.7 kB / 295.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.01332, allocations: 4 kB / 295.6 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.01333, allocations: 4 kB / 295.6 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.01346, allocations: 36.06 kB / 295.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.01357, allocations: 59.84 kB / 295.7 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006564/0.01422, allocations: 1.21 MB / 296.9 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01433, allocations: 23.84 kB / 297 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.01434, allocations: 11.94 kB / 297 MB, free: 1.641 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.01444, allocations: 132.7 kB / 297.1 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.01447, allocations: 23.92 kB / 297.1 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.01466, allocations: 135.1 kB / 297.3 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01466, allocations: 0 / 297.3 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01467, allocations: 4 kB / 297.3 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01467, allocations: 0 / 297.3 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.01505, allocations: 400.4 kB / 297.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01505, allocations: 0 / 297.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.01511, allocations: 24 kB / 297.7 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.01513, allocations: 23.84 kB / 297.7 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.01524, allocations: 39.61 kB / 297.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.01525, allocations: 7.984 kB / 297.8 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000644/0.0159, allocations: 1.228 MB / 299 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.0159, allocations: 4.125 kB / 299 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.01613, allocations: 289.7 kB / 299.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.01616, allocations: 11.92 kB / 299.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.01621, allocations: 4 kB / 299.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.01624, allocations: 11.98 kB / 299.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.01624, allocations: 7.984 kB / 299.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.611e-05/0.01632, allocations: 96.62 kB / 299.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01632, allocations: 0 / 299.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.01659, allocations: 83.84 kB / 299.5 MB, free: 14.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (15): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001084/0.01669, allocations: 84.39 kB / 299.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.01696, allocations: 213.5 kB / 299.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.01697, allocations: 4 kB / 299.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.01713, allocations: 172.2 kB / 299.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.01742, allocations: 93.03 kB / 300 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/0.02172, allocations: 0.6281 MB / 300.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.073e-05/0.0218, allocations: 120.2 kB / 300.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.02192, allocations: 34.95 kB / 300.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.02203, allocations: 91.36 kB / 300.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of SimCode: time 1.523e-06/0.02203, allocations: 0 / 300.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Templates: time 0.005641/0.02767, allocations: 3.335 MB / 304.2 MB, free: 10.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.7462884038686752]