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.0009902/0.0009902, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001514/0.001514, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.034/1.034, allocations: 177.1 MB / 205 MB, free: 5.629 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.2215/0.2215, allocations: 29.42 MB / 290.9 MB, free: 2.508 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.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.444e-06/2.444e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.188e-05, allocations: 10.25 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.004906/0.004938, allocations: 4.859 MB / 374.5 MB, free: 6.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.006748, allocations: 1.099 MB / 375.6 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.007058, allocations: 27.75 kB / 375.6 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.007298, allocations: 79.27 kB / 375.7 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007452/0.008043, allocations: 302.1 kB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.00835, allocations: 147.7 kB / 376.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000796/0.009146, allocations: 0.7199 MB / 376.9 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.009411, allocations: 113.2 kB / 377 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007662/0.01018, allocations: 0.4986 MB / 377.5 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.01055, allocations: 247.2 kB / 377.7 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/0.0106, allocations: 32 kB / 377.7 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.058e-05/0.01066, allocations: 32 kB / 377.8 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.01081, allocations: 175.4 kB / 377.9 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.01096, allocations: 159.6 kB / 378.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.01136, allocations: 346.6 kB / 378.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01136, allocations: 4 kB / 378.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01136, allocations: 0 / 378.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.01137, allocations: 0 / 378.4 MB, free: 2.16 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009599/0.01233, allocations: 0.8209 MB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.01238, allocations: 12.03 kB / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.01255, allocations: 80.61 kB / 379.3 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.01302, allocations: 394.7 kB / 379.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.01305, allocations: 29.38 kB / 379.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.01311, allocations: 40.12 kB / 379.8 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.01359, allocations: 363.9 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.0136, allocations: 3.938 kB / 380.2 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.01363, allocations: 12 kB / 380.2 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.01364, allocations: 12 kB / 380.2 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.01385, allocations: 156.7 kB / 380.3 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.01544, allocations: 1.991 MB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.01562, allocations: 133.1 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.01567, allocations: 55.16 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.01569, allocations: 3.984 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.01572, allocations: 45.31 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.794e-06/0.01572, allocations: 0 / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007526/0.01647, allocations: 0.523 MB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.01652, allocations: 106.8 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.01677, allocations: 394.6 kB / 383.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.01678, allocations: 33.7 kB / 383.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.01693, allocations: 334.6 kB / 383.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.01697, allocations: 59.53 kB / 384 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.01703, allocations: 63.36 kB / 384.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.01716, allocations: 0.5157 MB / 384.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.01721, allocations: 35.97 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.01734, allocations: 232.8 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.01756, allocations: 297.2 kB / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01756, allocations: 3.938 kB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000549/0.01811, allocations: 273.3 kB / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.01813, allocations: 8 kB / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.01813, allocations: 4 kB / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.01815, allocations: 12 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.01832, allocations: 72.47 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.01833, allocations: 7.984 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/0.01842, allocations: 27.89 kB / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.01844, allocations: 12 kB / 385.5 MB, free: 10.49 MB / 362.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.0001019/0.01854, allocations: 176.5 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.01859, allocations: 47.7 kB / 385.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.01878, allocations: 148.8 kB / 385.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01879, allocations: 0 / 385.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.01879, allocations: 4 kB / 385.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.0188, allocations: 0 / 385.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.01923, allocations: 496.8 kB / 386.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01923, allocations: 4.031 kB / 386.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.01935, allocations: 39.92 kB / 386.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01936, allocations: 4 kB / 386.4 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01937, allocations: 3.984 kB / 386.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.01937, allocations: 4 kB / 386.4 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01937, allocations: 0 / 386.4 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.01967, allocations: 462.1 kB / 386.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.0197, allocations: 35.75 kB / 386.9 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.01973, allocations: 4 kB / 386.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.01981, allocations: 4 kB / 386.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.01984, allocations: 11.98 kB / 386.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.01985, allocations: 11.98 kB / 387 MB, free: 8.965 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.01999, allocations: 255.1 kB / 387.2 MB, free: 8.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01999, allocations: 0 / 387.2 MB, free: 8.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.02028, allocations: 75.94 kB / 387.3 MB, free: 8.648 MB / 362.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 8.56e-05/0.02036, allocations: 99.19 kB / 387.4 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.02055, allocations: 136.1 kB / 387.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.02056, allocations: 4 kB / 387.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.874e-05/0.02062, allocations: 55.59 kB / 387.6 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.02104, allocations: 88.81 kB / 387.7 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.02233, allocations: 0.8144 MB / 388.5 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.908e-05/0.02241, allocations: 124.6 kB / 388.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.02253, allocations: 43.25 kB / 388.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.02258, allocations: 28.5 kB / 388.7 MB, free: 7.184 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.02259, allocations: 4 kB / 388.7 MB, free: 7.18 MB / 362.7 MB Notification: Performance of Templates: time 0.006163/0.02875, allocations: 3.458 MB / 392.1 MB, free: 3.805 MB / 362.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 -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: 3.0365614709444344]