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.001081/0.001081, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009626/0.0009626, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.032/1.032, allocations: 177.1 MB / 205 MB, free: 5.301 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.2419/0.2419, allocations: 29.41 MB / 290.9 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|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="Time|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.573e-06/1.573e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.662e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005105/0.005122, allocations: 3.997 MB / 373.6 MB, free: 6.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.006428, allocations: 0.9349 MB / 374.6 MB, free: 6.035 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.006602, allocations: 23.81 kB / 374.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.00678, allocations: 55.55 kB / 374.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.007306, allocations: 242.6 kB / 374.9 MB, free: 5.719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.007521, allocations: 103.7 kB / 375 MB, free: 5.617 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.007992, allocations: 0.5021 MB / 375.5 MB, free: 5.113 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.0082, allocations: 100.2 kB / 375.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.008603, allocations: 291.2 kB / 375.9 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.008928, allocations: 255.3 kB / 376.1 MB, free: 4.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.008967, allocations: 27.94 kB / 376.1 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.587e-05/0.009012, allocations: 24 kB / 376.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.009134, allocations: 159.6 kB / 376.3 MB, free: 4.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.009246, allocations: 123.7 kB / 376.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.009517, allocations: 263 kB / 376.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.009519, allocations: 0 / 376.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.009519, allocations: 4 kB / 376.7 MB, free: 3.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.009525, allocations: 4 kB / 376.7 MB, free: 3.887 MB / 346.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.0007527/0.01028, allocations: 0.6953 MB / 377.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.01032, allocations: 15.98 kB / 377.4 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.0104, allocations: 56.7 kB / 377.5 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.01081, allocations: 322.4 kB / 377.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.01083, allocations: 20.88 kB / 377.8 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.01087, allocations: 28.38 kB / 377.8 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.01119, allocations: 279.7 kB / 378.1 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.0112, allocations: 0 / 378.1 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.01122, allocations: 8 kB / 378.1 MB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-05/0.01129, allocations: 28.47 kB / 378.2 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.01146, allocations: 102.8 kB / 378.3 MB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.01275, allocations: 1.503 MB / 379.8 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.013, allocations: 137.6 kB / 379.9 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.01312, allocations: 59.66 kB / 379.9 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.01314, allocations: 4 kB / 380 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.01316, allocations: 37.39 kB / 380 MB, free: 400 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.134e-06/0.01317, allocations: 0 / 380 MB, free: 400 kB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.000811/0.01398, allocations: 0.4884 MB / 380.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.01403, allocations: 80.86 kB / 380.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.01428, allocations: 330.3 kB / 380.9 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.0143, allocations: 29.7 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.01444, allocations: 270.8 kB / 381.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.01448, allocations: 59.47 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.01455, allocations: 55.36 kB / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.01471, allocations: 0.5118 MB / 381.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.01476, allocations: 23.98 kB / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.01486, allocations: 175.3 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.01504, allocations: 219.1 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01504, allocations: 4 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002683/0.01531, allocations: 232.2 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.01533, allocations: 15.94 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01534, allocations: 4 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.01549, allocations: 31.67 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.0156, allocations: 47.91 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.01669, allocations: 1.787 MB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-05/0.01678, allocations: 12 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.0168, allocations: 12 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 27 * 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.0001203/0.01692, allocations: 176.4 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.01696, allocations: 35.81 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.0172, allocations: 159.1 kB / 384.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.0172, allocations: 3.984 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01721, allocations: 4 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01721, allocations: 8 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.01773, allocations: 0.5164 MB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.01773, allocations: 4 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.01779, allocations: 23.98 kB / 385.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/0.01792, allocations: 47.52 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.01793, allocations: 7.984 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008967/0.01883, allocations: 1.783 MB / 387.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01883, allocations: 0 / 387.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.01915, allocations: 355.1 kB / 387.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.01918, allocations: 27.8 kB / 387.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.0192, allocations: 11.94 kB / 387.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.01926, allocations: 0 / 387.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.0193, allocations: 32 kB / 387.5 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.01931, allocations: 4 kB / 387.5 MB, free: 8.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.01944, allocations: 219 kB / 387.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01944, allocations: 0 / 387.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.01969, allocations: 68 kB / 387.8 MB, free: 7.969 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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 9.596e-05/0.01979, allocations: 103.2 kB / 387.9 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004204/0.02021, allocations: 304.8 kB / 388.2 MB, free: 7.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.02021, allocations: 4 kB / 388.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.02041, allocations: 240.7 kB / 388.4 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.02073, allocations: 72.91 kB / 388.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.02181, allocations: 0.6461 MB / 389.2 MB, free: 6.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.242e-05/0.02188, allocations: 116.3 kB / 389.3 MB, free: 6.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.02198, allocations: 42.94 kB / 389.3 MB, free: 6.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.02203, allocations: 28.5 kB / 389.3 MB, free: 6.332 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02203, allocations: 0 / 389.3 MB, free: 6.332 MB / 362.7 MB Notification: Performance of Templates: time 0.004906/0.02693, allocations: 3.058 MB / 392.4 MB, free: 3.336 MB / 362.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 -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: 3.296102259773761]