Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.001022/0.001022, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001984/0.001984, allocations: 168.4 kB / 25.61 MB, free: 8.902 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 0.9583/0.9583, allocations: 177.1 MB / 206 MB, free: 4.488 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.1338/0.1338, allocations: 29.44 MB / 292 MB, free: 2.633 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.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.032e-05, allocations: 4.062 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.00341/0.00343, allocations: 3.464 MB / 374.3 MB, free: 28.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.00465, allocations: 1.149 MB / 375.5 MB, free: 27.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.004762, allocations: 7.938 kB / 375.5 MB, free: 27.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.005297, allocations: 195.2 kB / 375.7 MB, free: 27.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005712/0.005868, allocations: 290.6 kB / 376 MB, free: 27.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.006118, allocations: 107.6 kB / 376.1 MB, free: 27.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.006434, allocations: 338.9 kB / 376.4 MB, free: 26.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.006633, allocations: 122 kB / 376.5 MB, free: 26.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.006849, allocations: 203.4 kB / 376.7 MB, free: 26.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.007026, allocations: 151.5 kB / 376.9 MB, free: 26.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.007046, allocations: 16 kB / 376.9 MB, free: 26.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.007283, allocations: 251.2 kB / 377.1 MB, free: 26.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.007354, allocations: 111.7 kB / 377.2 MB, free: 25.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.007409, allocations: 75.84 kB / 377.3 MB, free: 25.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.007675, allocations: 299 kB / 377.6 MB, free: 25.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.007677, allocations: 0 / 377.6 MB, free: 25.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.007678, allocations: 4 kB / 377.6 MB, free: 25.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.007682, allocations: 0 / 377.6 MB, free: 25.55 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004622/0.008144, allocations: 0.55 MB / 378.2 MB, free: 24.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.008176, allocations: 8.031 kB / 378.2 MB, free: 24.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004418/0.008618, allocations: 128.5 kB / 378.3 MB, free: 24.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.00879, allocations: 200.2 kB / 378.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.008802, allocations: 20.31 kB / 378.5 MB, free: 24.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.008834, allocations: 24.36 kB / 378.5 MB, free: 24.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.009005, allocations: 212.3 kB / 378.7 MB, free: 24.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.009017, allocations: 3.938 kB / 378.7 MB, free: 24.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.009031, allocations: 11.98 kB / 378.8 MB, free: 24.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.009055, allocations: 19.98 kB / 378.8 MB, free: 24.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.009156, allocations: 95.83 kB / 378.9 MB, free: 24.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.009859, allocations: 1.262 MB / 380.1 MB, free: 22.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.01003, allocations: 126.2 kB / 380.3 MB, free: 22.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.01006, allocations: 39.36 kB / 380.3 MB, free: 22.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.01007, allocations: 0 / 380.3 MB, free: 22.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.01009, allocations: 41.33 kB / 380.3 MB, free: 22.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.01009, allocations: 0 / 380.3 MB, free: 22.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002837/0.01038, allocations: 156.4 kB / 380.5 MB, free: 22.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.01041, allocations: 89.17 kB / 380.6 MB, free: 22.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.01053, allocations: 242.5 kB / 380.8 MB, free: 22.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.01054, allocations: 25.7 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.017e-05/0.01062, allocations: 218.9 kB / 381 MB, free: 21.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.01065, allocations: 51.52 kB / 381.1 MB, free: 21.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.01072, allocations: 55.28 kB / 381.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.01079, allocations: 0.4962 MB / 381.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.01083, allocations: 15.98 kB / 381.7 MB, free: 21.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.01091, allocations: 163.9 kB / 381.8 MB, free: 20.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.01104, allocations: 195 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.01104, allocations: 4 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001448/0.01118, allocations: 173.2 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.0112, allocations: 8 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.0112, allocations: 448 / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.01121, allocations: 8 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.0113, allocations: 51.84 kB / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.0113, allocations: 8 kB / 382.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.01135, allocations: 8 kB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.01136, allocations: 8 kB / 382.3 MB, free: 20.46 MB / 314.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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.01141, allocations: 172.5 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.01144, allocations: 19.91 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.01156, allocations: 117.7 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01156, allocations: 4 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01156, allocations: 3.938 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01157, allocations: 4 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.01195, allocations: 0.5288 MB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.01195, allocations: 4 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.012, allocations: 32.36 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.012, allocations: 4 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.01201, allocations: 12 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.01201, allocations: 7.984 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.01202, allocations: 8 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.01215, allocations: 379.3 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.01217, allocations: 23.84 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.01219, allocations: 12 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.01225, allocations: 0 / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.01228, allocations: 23.92 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.01229, allocations: 11.94 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.084e-05/0.01235, allocations: 169 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01235, allocations: 4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002081/0.01255, allocations: 40 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.818e-05/0.01261, allocations: 103.2 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.01273, allocations: 107.3 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01273, allocations: 0 / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.777e-05/0.01276, allocations: 58.98 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.01302, allocations: 34.16 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.01365, allocations: 0.5146 MB / 384.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.363e-05/0.0137, allocations: 95.95 kB / 384.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.89e-05/0.01374, allocations: 21.67 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.0138, allocations: 94.19 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.0138, allocations: 0 / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of Templates: time 0.002661/0.01646, allocations: 1.351 MB / 386.2 MB, free: 16.26 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.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.156096566002816]