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.001596/0.001596, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001249/0.001249, allocations: 170.7 kB / 24.91 MB, free: 8.723 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.9972/0.9972, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.2404/0.2404, allocations: 29.42 MB / 291.2 MB, free: 2.449 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.414e-06/2.414e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.045e-05, allocations: 4 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003952/0.003982, allocations: 3.506 MB / 320.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.005525, allocations: 1.173 MB / 321.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.005659, allocations: 7.938 kB / 321.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005301/0.006189, allocations: 199.1 kB / 321.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004976/0.006686, allocations: 282.5 kB / 322 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.006943, allocations: 115.5 kB / 322.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000341/0.007284, allocations: 335.3 kB / 322.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.007513, allocations: 134.7 kB / 322.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.007819, allocations: 207.3 kB / 322.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.008039, allocations: 131.6 kB / 322.9 MB, free: 9.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.008062, allocations: 16 kB / 323 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.008409, allocations: 267.1 kB / 323.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.996e-05/0.008509, allocations: 107.8 kB / 323.3 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.00858, allocations: 75.77 kB / 323.4 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.008962, allocations: 295.1 kB / 323.7 MB, free: 9.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.008965, allocations: 0 / 323.7 MB, free: 9.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.008967, allocations: 4 kB / 323.7 MB, free: 9.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.008972, allocations: 0 / 323.7 MB, free: 9.137 MB / 298.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.0004653/0.009438, allocations: 423.2 kB / 324.1 MB, free: 8.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.009471, allocations: 11.98 kB / 324.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005348/0.01001, allocations: 132.7 kB / 324.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.01026, allocations: 205.9 kB / 324.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.01028, allocations: 12.38 kB / 324.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.01031, allocations: 16.38 kB / 324.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.01053, allocations: 206.8 kB / 324.7 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.01054, allocations: 3.938 kB / 324.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.01055, allocations: 12 kB / 324.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.01058, allocations: 19.98 kB / 324.7 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.01069, allocations: 90.69 kB / 324.8 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/0.01153, allocations: 0.9614 MB / 325.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.01172, allocations: 146.6 kB / 325.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.01176, allocations: 41.75 kB / 326 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.01178, allocations: 4 kB / 326 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.0118, allocations: 34.56 kB / 326 MB, free: 6.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.0118, allocations: 0 / 326 MB, free: 6.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002951/0.0121, allocations: 143.4 kB / 326.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.01214, allocations: 81.05 kB / 326.2 MB, free: 6.426 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.01223, allocations: 183.3 kB / 326.4 MB, free: 6.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.01224, allocations: 25.7 kB / 326.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.01233, allocations: 160.2 kB / 326.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.01237, allocations: 55.58 kB / 326.6 MB, free: 5.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.01243, allocations: 37.83 kB / 326.7 MB, free: 5.941 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.01252, allocations: 330.8 kB / 327 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/0.01255, allocations: 22.83 kB / 327 MB, free: 5.586 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.01262, allocations: 120.7 kB / 327.1 MB, free: 5.422 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.01274, allocations: 160 kB / 327.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01274, allocations: 4 kB / 327.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000143/0.01289, allocations: 152.2 kB / 327.4 MB, free: 5.059 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.0129, allocations: 4 kB / 327.4 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01291, allocations: 4 kB / 327.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.01292, allocations: 4 kB / 327.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.01301, allocations: 43.92 kB / 327.5 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01302, allocations: 15.88 kB / 327.5 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.01307, allocations: 8 kB / 327.5 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.01308, allocations: 11.98 kB / 327.5 MB, free: 4.969 MB / 298.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 7.715e-05/0.01316, allocations: 136.9 kB / 327.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.01318, allocations: 11.98 kB / 327.7 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.0133, allocations: 91.88 kB / 327.8 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01331, allocations: 0 / 327.8 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01331, allocations: 3.938 kB / 327.8 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01331, allocations: 0 / 327.8 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.01376, allocations: 497.7 kB / 328.2 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.01376, allocations: 7.984 kB / 328.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.01384, allocations: 20 kB / 328.3 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.01385, allocations: 4 kB / 328.3 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.01386, allocations: 11.98 kB / 328.3 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.01387, allocations: 7.938 kB / 328.3 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.01387, allocations: 4 kB / 328.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.01412, allocations: 347.6 kB / 328.6 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.01415, allocations: 19.89 kB / 328.7 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.01417, allocations: 16 kB / 328.7 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.01427, allocations: 4 kB / 328.7 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.0143, allocations: 27.84 kB / 328.7 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.01432, allocations: 4 kB / 328.7 MB, free: 3.617 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.923e-05/0.01437, allocations: 50.72 kB / 328.8 MB, free: 3.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01437, allocations: 0 / 328.8 MB, free: 3.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003134/0.01468, allocations: 44 kB / 328.8 MB, free: 3.523 MB / 298.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.0001125/0.01479, allocations: 84.36 kB / 328.9 MB, free: 3.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.01496, allocations: 109.8 kB / 329 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.01496, allocations: 0 / 329 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.88e-05/0.01502, allocations: 46.45 kB / 329 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.01532, allocations: 54.81 kB / 329.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008107/0.01613, allocations: 0.5021 MB / 329.6 MB, free: 2.648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.444e-05/0.01619, allocations: 99.95 kB / 329.7 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.475e-05/0.01627, allocations: 21.62 kB / 329.7 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.01634, allocations: 71.36 kB / 329.8 MB, free: 2.438 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01634, allocations: 4 kB / 329.8 MB, free: 2.434 MB / 298.7 MB Notification: Performance of Templates: time 0.00303/0.01937, allocations: 1.331 MB / 331.1 MB, free: 1.125 MB / 298.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 -s gbode -gbm=radauIIA3 -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: 2.8929921467788517]