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.001108/0.001108, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001742/0.00285, 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.001654/0.001654, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001983/0.003637, 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 0.9605/0.9605, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1277/1.088, allocations: 53.64 MB / 243.3 MB, free: 15.59 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.1164/0.1164, allocations: 29.44 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1431/0.2595, allocations: 9.532 MB / 283 MB, free: 12.84 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.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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="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 1.944e-06/1.944e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.551e-05, allocations: 3.984 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.00659/0.006616, allocations: 4.905 MB / 289.1 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.009154, allocations: 1.133 MB / 290.3 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003789/0.009532, allocations: 27.69 kB / 290.3 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.009747, allocations: 78.03 kB / 290.4 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000657/0.0104, allocations: 301.5 kB / 290.7 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.01079, allocations: 144 kB / 290.8 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000717/0.01151, allocations: 0.7161 MB / 291.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.01173, allocations: 130.6 kB / 291.6 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007665/0.01249, allocations: 0.5163 MB / 292.2 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.01288, allocations: 239.6 kB / 292.4 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.01294, allocations: 31.66 kB / 292.4 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.01301, allocations: 32.41 kB / 292.5 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.01314, allocations: 146.1 kB / 292.6 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.01329, allocations: 135.5 kB / 292.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.01369, allocations: 333.3 kB / 293.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/0.01371, allocations: 0 / 293.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01371, allocations: 0 / 293.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.01373, allocations: 0 / 293.1 MB, free: 5.57 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009193/0.01465, allocations: 0.7636 MB / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.01469, allocations: 10.28 kB / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.343e-05/0.01478, allocations: 65 kB / 293.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.01524, allocations: 371.8 kB / 294.3 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.01526, allocations: 29.38 kB / 294.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.01531, allocations: 44.11 kB / 294.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.0156, allocations: 311.6 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.01562, allocations: 4 kB / 294.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.01564, allocations: 16 kB / 294.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.01565, allocations: 8 kB / 294.7 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.01578, allocations: 117.1 kB / 294.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.01696, allocations: 1.47 MB / 296.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.01708, allocations: 111.8 kB / 296.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.01711, allocations: 34.64 kB / 296.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.01713, allocations: 4 kB / 296.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.01715, allocations: 34.56 kB / 296.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.01715, allocations: 3.938 kB / 296.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002434/0.0174, allocations: 137.6 kB / 296.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.01744, allocations: 106.8 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.01774, allocations: 339.1 kB / 297 MB, free: 1.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.01775, allocations: 29.7 kB / 297 MB, free: 1.738 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.01786, allocations: 257 kB / 297.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.01789, allocations: 59.52 kB / 297.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.01794, allocations: 53.64 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.01802, allocations: 354.7 kB / 297.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.01805, allocations: 27.98 kB / 297.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.968e-05/0.01813, allocations: 166.4 kB / 297.9 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.01827, allocations: 217.7 kB / 298.1 MB, free: 492 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01827, allocations: 0 / 298.1 MB, free: 492 kB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001772/0.01845, allocations: 197.6 kB / 298.3 MB, free: 288 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01847, allocations: 15.97 kB / 298.3 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01847, allocations: 4 kB / 298.3 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.01849, allocations: 11.98 kB / 298.4 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.01869, allocations: 77.73 kB / 298.4 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.0187, allocations: 15.92 kB / 298.5 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-05/0.01879, allocations: 31.78 kB / 298.5 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.0188, allocations: 8 kB / 298.5 MB, free: 124 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (36): * Single equations (assignments): 36 * 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 9.227e-05/0.01889, allocations: 128.7 kB / 298.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.01893, allocations: 31.86 kB / 298.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.01906, allocations: 121.2 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.01907, allocations: 4 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.01907, allocations: 3.938 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01907, allocations: 0 / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.01926, allocations: 173.7 kB / 298.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01927, allocations: 0 / 298.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.0194, allocations: 43.97 kB / 299 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.01943, allocations: 35.64 kB / 299 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.01944, allocations: 0 / 299 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.01945, allocations: 8 kB / 299 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01945, allocations: 4 kB / 299 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01945, allocations: 0 / 299 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.01963, allocations: 312.3 kB / 299.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.01966, allocations: 11.88 kB / 299.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.01973, allocations: 4 kB / 299.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.01975, allocations: 7.984 kB / 299.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.01975, allocations: 7.984 kB / 299.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.906e-05/0.01983, allocations: 128.7 kB / 299.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01983, allocations: 0 / 299.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.02007, allocations: 95.77 kB / 299.6 MB, free: 14.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltage2.theta,ind2.i,ind1.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 (17): * Single equations (assignments): 16 * 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 7.719e-05/0.02015, allocations: 84.36 kB / 299.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.02028, allocations: 117.1 kB / 299.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/0.02029, allocations: 8 kB / 299.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/0.02033, allocations: 41.95 kB / 299.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.02068, allocations: 128.3 kB / 300 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/0.02581, allocations: 0.7939 MB / 300.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.239e-05/0.02589, allocations: 129.2 kB / 300.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.026, allocations: 47.27 kB / 300.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.02614, allocations: 131.3 kB / 301.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of SimCode: time 9.01e-07/0.02614, allocations: 3.938 kB / 301.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of Templates: time 0.006049/0.03219, allocations: 3.844 MB / 304.9 MB, free: 9.703 MB / 298.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.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.819103413261473]