Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.0008036/0.0008036, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003009/0.003009, allocations: 160.5 kB / 24.7 MB, free: 9.43 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.8147/0.8147, allocations: 177.1 MB / 205 MB, free: 5.73 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.2111/0.2111, allocations: 29.41 MB / 290.9 MB, free: 2.422 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.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 431.4 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.586e-05, allocations: 3.406 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.004224/0.00425, allocations: 5.184 MB / 436.6 MB, free: 7.891 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.005347, allocations: 1.083 MB / 437.7 MB, free: 6.805 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.005492, allocations: 27.75 kB / 437.7 MB, free: 6.777 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.005654, allocations: 87.14 kB / 437.8 MB, free: 6.691 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.006084, allocations: 314 kB / 438.1 MB, free: 6.383 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.006255, allocations: 143.7 kB / 438.3 MB, free: 6.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004318/0.006687, allocations: 0.7199 MB / 439 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.00685, allocations: 117.1 kB / 439.1 MB, free: 5.395 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.007218, allocations: 434.6 kB / 439.5 MB, free: 4.969 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.007516, allocations: 295.2 kB / 439.8 MB, free: 4.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.007554, allocations: 32 kB / 439.9 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.698e-05/0.007611, allocations: 32 kB / 439.9 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.007715, allocations: 171.4 kB / 440.1 MB, free: 4.449 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.007824, allocations: 159.6 kB / 440.2 MB, free: 4.293 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.008207, allocations: 482.4 kB / 440.7 MB, free: 3.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.008211, allocations: 7.984 kB / 440.7 MB, free: 3.812 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.008212, allocations: 0 / 440.7 MB, free: 3.812 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.008217, allocations: 0 / 440.7 MB, free: 3.812 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008017/0.009019, allocations: 0.7327 MB / 441.4 MB, free: 3.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.009046, allocations: 12.03 kB / 441.4 MB, free: 3.035 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.009104, allocations: 60.56 kB / 441.5 MB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.009506, allocations: 384.8 kB / 441.9 MB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.009523, allocations: 29.38 kB / 441.9 MB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.009562, allocations: 40.12 kB / 441.9 MB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.009948, allocations: 455.6 kB / 442.4 MB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.009961, allocations: 7.984 kB / 442.4 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.009983, allocations: 20 kB / 442.4 MB, free: 2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.00999, allocations: 8 kB / 442.4 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.01028, allocations: 308.5 kB / 442.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.01146, allocations: 1.593 MB / 444.3 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1391/0.1506, allocations: 137.1 kB / 444.4 MB, free: 54.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.1506, allocations: 53.44 kB / 444.5 MB, free: 54.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1506, allocations: 0.75 kB / 444.5 MB, free: 54.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1507, allocations: 37.31 kB / 444.5 MB, free: 54.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.003e-06/0.1507, allocations: 0 / 444.5 MB, free: 54.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007462/0.1514, allocations: 0.5414 MB / 445.1 MB, free: 54.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.1514, allocations: 107.4 kB / 445.2 MB, free: 54.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.1517, allocations: 358.9 kB / 445.5 MB, free: 54.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.1517, allocations: 28.83 kB / 445.6 MB, free: 54.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.1517, allocations: 295.6 kB / 445.8 MB, free: 54.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.1518, allocations: 63.59 kB / 445.9 MB, free: 54.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.1518, allocations: 55.09 kB / 446 MB, free: 54.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.606e-05/0.1518, allocations: 353.9 kB / 446.3 MB, free: 53.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.175e-05/0.1519, allocations: 51.22 kB / 446.4 MB, free: 53.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.152, allocations: 189.3 kB / 446.5 MB, free: 53.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1521, allocations: 263.1 kB / 446.8 MB, free: 53.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1521, allocations: 3.875 kB / 446.8 MB, free: 53.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002142/0.1523, allocations: 298.6 kB / 447.1 MB, free: 53.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1524, allocations: 10.34 kB / 447.1 MB, free: 53.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1524, allocations: 2.938 kB / 447.1 MB, free: 53.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1524, allocations: 8.938 kB / 447.1 MB, free: 53.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.1525, allocations: 63.7 kB / 447.2 MB, free: 53.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1525, allocations: 10.47 kB / 447.2 MB, free: 53.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.044e-05/0.1526, allocations: 18.2 kB / 447.2 MB, free: 53.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1526, allocations: 19.64 kB / 447.2 MB, free: 53.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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.0001116/0.1527, allocations: 180.6 kB / 447.4 MB, free: 53.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.1528, allocations: 35.19 kB / 447.4 MB, free: 53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.1529, allocations: 169.5 kB / 447.6 MB, free: 52.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.153, allocations: 3.969 kB / 447.6 MB, free: 52.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.153, allocations: 2.906 kB / 447.6 MB, free: 52.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.153, allocations: 2.031 kB / 447.6 MB, free: 52.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.1533, allocations: 436.2 kB / 448 MB, free: 52.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1533, allocations: 0 / 448 MB, free: 52.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1534, allocations: 40.03 kB / 448.1 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1534, allocations: 6.734 kB / 448.1 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1534, allocations: 4.531 kB / 448.1 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1534, allocations: 3.25 kB / 448.1 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1534, allocations: 3.938 kB / 448.1 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.1536, allocations: 393 kB / 448.5 MB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.1536, allocations: 43.8 kB / 448.5 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.1537, allocations: 3.125 kB / 448.5 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.1538, allocations: 13.78 kB / 448.5 MB, free: 52.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.1538, allocations: 14.86 kB / 448.6 MB, free: 52.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1538, allocations: 6.781 kB / 448.6 MB, free: 52.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1539, allocations: 234.9 kB / 448.8 MB, free: 52.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1539, allocations: 0 / 448.8 MB, free: 52.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.1541, allocations: 73.22 kB / 448.9 MB, free: 52.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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 6.916e-05/0.1542, allocations: 108.2 kB / 449 MB, free: 52.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.1544, allocations: 154.1 kB / 449.1 MB, free: 51.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1544, allocations: 0 / 449.1 MB, free: 51.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.1544, allocations: 53.95 kB / 449.2 MB, free: 51.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.1548, allocations: 96.16 kB / 449.3 MB, free: 51.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007426/0.1556, allocations: 0.8253 MB / 450.1 MB, free: 51.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.1557, allocations: 235.9 kB / 450.3 MB, free: 51.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.1557, allocations: 30.66 kB / 450.3 MB, free: 51.33 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1557, allocations: 0.875 kB / 450.3 MB, free: 51.33 MB / 410.7 MB Notification: Performance of Templates: time 0.003833/0.1596, allocations: 4.833 MB / 455.2 MB, free: 50.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.555574405007064]