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.001175/0.001175, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001115/0.001115, allocations: 168.3 kB / 24.82 MB, free: 9.262 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.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.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.2668/0.2668, allocations: 29.43 MB / 291.2 MB, free: 2.457 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 2.104e-06/2.104e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.465e-05, allocations: 5.406 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.01133/0.01136, allocations: 3.457 MB / 373.6 MB, free: 7.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005331/0.0167, allocations: 1.145 MB / 374.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.01697, allocations: 7.938 kB / 374.7 MB, free: 6.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007131/0.01769, allocations: 203.1 kB / 374.9 MB, free: 5.895 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006937/0.01838, allocations: 282.5 kB / 375.2 MB, free: 5.617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.01872, allocations: 111.6 kB / 375.3 MB, free: 5.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.01913, allocations: 338.9 kB / 375.6 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.01938, allocations: 118.1 kB / 375.8 MB, free: 5.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.02283, allocations: 199.4 kB / 375.9 MB, free: 4.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.02314, allocations: 147.6 kB / 376.1 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.02317, allocations: 16 kB / 376.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005408/0.02371, allocations: 263.1 kB / 376.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.02383, allocations: 103.7 kB / 376.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.049e-05/0.02393, allocations: 75.83 kB / 376.5 MB, free: 4.273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.02441, allocations: 299.1 kB / 376.8 MB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.02442, allocations: 4 kB / 376.8 MB, free: 3.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.02442, allocations: 3.938 kB / 376.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.02442, allocations: 0 / 376.8 MB, free: 3.973 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006245/0.02505, allocations: 0.5461 MB / 377.4 MB, free: 3.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.0251, allocations: 15.98 kB / 377.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/0.02882, allocations: 112.7 kB / 377.5 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.02915, allocations: 204.8 kB / 377.7 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.02917, allocations: 16.36 kB / 377.7 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.02921, allocations: 16.38 kB / 377.7 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.02951, allocations: 216.2 kB / 378 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.02953, allocations: 3.938 kB / 378 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.02955, allocations: 8 kB / 378 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.02959, allocations: 19.98 kB / 378 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.02974, allocations: 99.77 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.03093, allocations: 1.266 MB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.03121, allocations: 126.2 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.03126, allocations: 35.42 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.03129, allocations: 0 / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.03133, allocations: 37.39 kB / 379.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.03133, allocations: 4 kB / 379.5 MB, free: 1.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004105/0.03174, allocations: 164.7 kB / 379.7 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.03179, allocations: 96.97 kB / 379.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.03193, allocations: 234.5 kB / 380 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.03195, allocations: 25.7 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.03206, allocations: 226.8 kB / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.03209, allocations: 39.64 kB / 380.3 MB, free: 228 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.03216, allocations: 55.3 kB / 380.4 MB, free: 164 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.03233, allocations: 0.5001 MB / 380.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/0.03237, allocations: 15.98 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.03279, allocations: 171.2 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.03294, allocations: 203.1 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.03294, allocations: 4 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001911/0.03313, allocations: 173.5 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.03315, allocations: 12.06 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.03316, allocations: 4 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.03317, allocations: 4 kB / 381.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.03328, allocations: 43.86 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.03329, allocations: 8 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.03337, allocations: 8.062 kB / 381.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.03338, allocations: 12 kB / 381.5 MB, free: 14.87 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 (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 0.0001223/0.03351, allocations: 176.4 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.03355, allocations: 19.84 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.03377, allocations: 107.1 kB / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.03378, allocations: 4.031 kB / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.03379, allocations: 3.938 kB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.03379, allocations: 0 / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007185/0.03451, allocations: 0.5408 MB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.03451, allocations: 4.062 kB / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.779e-05/0.03461, allocations: 31.92 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.03462, allocations: 4 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.03463, allocations: 4 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.03464, allocations: 4 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.03465, allocations: 7.938 kB / 382.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.03502, allocations: 387.2 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.03506, allocations: 19.91 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.03509, allocations: 16 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.03521, allocations: 4 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.03525, allocations: 27.84 kB / 382.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.03526, allocations: 4 kB / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.679e-05/0.03536, allocations: 169 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03536, allocations: 0 / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000391/0.03575, allocations: 43.94 kB / 383.1 MB, free: 13.14 MB / 362.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 0.0001748/0.03592, allocations: 103.2 kB / 383.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.03615, allocations: 99.39 kB / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.03615, allocations: 0 / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.948e-05/0.03623, allocations: 57.02 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.03672, allocations: 35.86 kB / 383.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.03811, allocations: 0.5084 MB / 383.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.03822, allocations: 95.95 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.03832, allocations: 21.64 kB / 384 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.03844, allocations: 90.19 kB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.03844, allocations: 0 / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of Templates: time 0.005424/0.04386, allocations: 1.349 MB / 385.4 MB, free: 10.69 MB / 362.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.203120101708919]