Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.0008729/0.0008729, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00114/0.002013, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007758/0.0007758, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.00184, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.055/1.055, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09075/1.146, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1195/0.1195, allocations: 29.45 MB / 273.4 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1384/0.2579, allocations: 9.527 MB / 283 MB, free: 12.86 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.565e-05, allocations: 8.484 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006725/0.006751, allocations: 4.15 MB / 288.4 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.01005, allocations: 1.364 MB / 289.7 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003065/0.01036, allocations: 16.38 kB / 289.8 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.01104, allocations: 357.6 kB / 290.1 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005184/0.01156, allocations: 281 kB / 290.4 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.01222, allocations: 248 kB / 290.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006432/0.01286, allocations: 0.5914 MB / 291.2 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.01319, allocations: 226.7 kB / 291.4 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.01377, allocations: 420.2 kB / 291.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.01416, allocations: 323.3 kB / 292.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.01421, allocations: 38 kB / 292.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.01465, allocations: 231.8 kB / 292.4 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.01484, allocations: 237 kB / 292.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.01503, allocations: 143.1 kB / 292.8 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.01563, allocations: 0.4924 MB / 293.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.01564, allocations: 0 / 293.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01564, allocations: 6 kB / 293.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.01567, allocations: 0 / 293.3 MB, free: 5.625 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009687/0.01664, allocations: 0.751 MB / 294 MB, free: 4.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.01667, allocations: 11.97 kB / 294.1 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004968/0.01717, allocations: 205.9 kB / 294.3 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.01754, allocations: 324.3 kB / 294.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.01757, allocations: 33.36 kB / 294.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.01767, allocations: 48.45 kB / 294.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.01809, allocations: 419.9 kB / 295.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.0181, allocations: 4 kB / 295.1 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.01813, allocations: 16 kB / 295.1 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.476e-05/0.01823, allocations: 44.98 kB / 295.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.0185, allocations: 221.6 kB / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.02027, allocations: 1.885 MB / 297.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.0205, allocations: 195.8 kB / 297.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.335e-05/0.02058, allocations: 65.77 kB / 297.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.0206, allocations: 8 kB / 297.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.02063, allocations: 42.55 kB / 297.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 2.375e-06/0.02064, allocations: 0 / 297.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008413/0.02148, allocations: 0.6055 MB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.02152, allocations: 85.05 kB / 298.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.02167, allocations: 266.8 kB / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.02169, allocations: 29.7 kB / 298.5 MB, free: 224 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.0218, allocations: 244.8 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.02187, allocations: 158.6 kB / 298.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-05/0.02195, allocations: 86.09 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.02205, allocations: 350.7 kB / 299.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-05/0.02212, allocations: 64.09 kB / 299.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.02226, allocations: 217.5 kB / 299.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.0225, allocations: 330.8 kB / 299.9 MB, free: 14.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.0225, allocations: 8 kB / 299.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000335/0.02284, allocations: 316.5 kB / 300.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.02286, allocations: 12.03 kB / 300.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.02287, allocations: 4 kB / 300.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.02288, allocations: 8 kB / 300.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.02319, allocations: 127.5 kB / 300.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.0232, allocations: 11.94 kB / 300.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.02332, allocations: 19.94 kB / 300.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.02334, allocations: 16 kB / 300.4 MB, free: 14.12 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * 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.000123/0.02347, allocations: 148.5 kB / 300.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.02354, allocations: 43.91 kB / 300.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.0238, allocations: 232.4 kB / 300.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.02382, allocations: 11.98 kB / 300.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.02382, allocations: 4 kB / 300.9 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.02382, allocations: 4 kB / 300.9 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006742/0.0245, allocations: 0.6125 MB / 301.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.0245, allocations: 0 / 301.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.02473, allocations: 87.91 kB / 301.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.02477, allocations: 35.77 kB / 301.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.02477, allocations: 4 kB / 301.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.02479, allocations: 8 kB / 301.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.02479, allocations: 4 kB / 301.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.02479, allocations: 0 / 301.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.02517, allocations: 443.8 kB / 302.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.0252, allocations: 8 kB / 302.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.02529, allocations: 8 kB / 302.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.02532, allocations: 23.95 kB / 302.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.02533, allocations: 8 kB / 302.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.576e-05/0.0254, allocations: 92.62 kB / 302.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0254, allocations: 0 / 302.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003208/0.02572, allocations: 111.9 kB / 302.3 MB, free: 12.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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.0001623/0.02588, allocations: 116.2 kB / 302.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.02614, allocations: 238.3 kB / 302.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/0.02615, allocations: 4 kB / 302.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.146e-05/0.02624, allocations: 102.2 kB / 302.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.02656, allocations: 98.83 kB / 302.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006039/0.0326, allocations: 0.9005 MB / 303.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.0327, allocations: 149.7 kB / 303.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.03288, allocations: 59.19 kB / 304 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.03304, allocations: 115.3 kB / 304.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03304, allocations: 0 / 304.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of Templates: time 0.00661/0.03965, allocations: 4.257 MB / 308.3 MB, free: 6.156 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceSynchron.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.941283139400184]