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.001761/0.001761, allocations: 73.33 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002131/0.002131, allocations: 159.5 kB / 24.5 MB, free: 3.715 MB / 14.72 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.473/1.473, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] 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.1748/0.1748, allocations: 29.44 MB / 290.7 MB, free: 3.27 MB / 270.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 67.91 kB / 431.2 MB, free: 3.246 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.357, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005469/0.3625, allocations: 5.214 MB / 498.8 MB, free: 34.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3641, allocations: 1.078 MB / 499.9 MB, free: 33.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.3643, allocations: 29.09 kB / 499.9 MB, free: 33.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.3645, allocations: 84.56 kB / 0.4883 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000612/0.3651, allocations: 302.4 kB / 0.4886 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.3654, allocations: 141.8 kB / 0.4887 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000519/0.3659, allocations: 0.6997 MB / 0.4894 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.3661, allocations: 123.6 kB / 0.4895 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.3664, allocations: 324.9 kB / 0.4898 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.3668, allocations: 328.2 kB / 0.4901 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.3669, allocations: 35.22 kB / 0.4902 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-05/0.367, allocations: 36.59 kB / 0.4902 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.3671, allocations: 158.6 kB / 0.4904 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.3673, allocations: 202.5 kB / 0.4906 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.3677, allocations: 0.4939 MB / 0.491 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3677, allocations: 0 / 0.491 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3677, allocations: 0 / 0.491 GB, free: 32.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3677, allocations: 0 / 0.491 GB, free: 32.17 MB / 446.1 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.001097/0.3688, allocations: 0.7315 MB / 0.4918 GB, free: 31.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.3688, allocations: 9.719 kB / 0.4918 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/0.3689, allocations: 54.27 kB / 0.4918 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.3695, allocations: 390.5 kB / 0.4922 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3695, allocations: 29.47 kB / 0.4922 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.3695, allocations: 36.81 kB / 0.4923 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.37, allocations: 469 kB / 0.4927 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.37, allocations: 0 / 0.4927 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.3701, allocations: 15.41 kB / 0.4927 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.3701, allocations: 9.531 kB / 0.4927 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.3705, allocations: 302.9 kB / 0.493 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.3718, allocations: 1.596 MB / 0.4946 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.372, allocations: 138.6 kB / 0.4947 GB, free: 29.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.576e-05/0.372, allocations: 51.47 kB / 0.4948 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.372, allocations: 7.938 kB / 0.4948 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.3721, allocations: 44.98 kB / 0.4948 GB, free: 29.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.3721, allocations: 0 / 0.4948 GB, free: 29.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007367/0.3728, allocations: 0.5356 MB / 0.4953 GB, free: 29.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3728, allocations: 109.9 kB / 0.4954 GB, free: 28.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.3731, allocations: 364.5 kB / 0.4958 GB, free: 28.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.3731, allocations: 25.7 kB / 0.4958 GB, free: 28.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3732, allocations: 292.6 kB / 0.4961 GB, free: 28.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.3732, allocations: 60.27 kB / 0.4961 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.3733, allocations: 66.31 kB / 0.4962 GB, free: 28.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.3734, allocations: 346.1 kB / 0.4965 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.3734, allocations: 47.52 kB / 0.4966 GB, free: 28.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3735, allocations: 195 kB / 0.4968 GB, free: 27.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.3738, allocations: 272.1 kB / 0.497 GB, free: 27.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3738, allocations: 4 kB / 0.497 GB, free: 27.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003236/0.3741, allocations: 287.8 kB / 0.4973 GB, free: 27.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3741, allocations: 10.22 kB / 0.4973 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3741, allocations: 6.094 kB / 0.4973 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3741, allocations: 10 kB / 0.4973 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.3743, allocations: 69.25 kB / 0.4974 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3743, allocations: 9.969 kB / 0.4974 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.3745, allocations: 13.34 kB / 0.4974 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3745, allocations: 16.03 kB / 0.4974 GB, free: 27.45 MB / 446.1 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.0001186/0.3746, allocations: 181.9 kB / 0.4976 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.3747, allocations: 41.64 kB / 0.4976 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.3749, allocations: 166.2 kB / 0.4978 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3749, allocations: 6.359 kB / 0.4978 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3749, allocations: 3.062 kB / 0.4978 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3749, allocations: 0 / 0.4978 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.3754, allocations: 442.2 kB / 0.4982 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3754, allocations: 0 / 0.4982 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.3755, allocations: 37.39 kB / 0.4983 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3756, allocations: 0 / 0.4983 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3756, allocations: 6.938 kB / 0.4983 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3756, allocations: 14.48 kB / 0.4983 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3756, allocations: 0 / 0.4983 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.3759, allocations: 403.1 kB / 0.4987 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.3759, allocations: 33.61 kB / 0.4987 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.3759, allocations: 7.469 kB / 0.4987 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3761, allocations: 3.125 kB / 0.4987 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.3761, allocations: 21.84 kB / 0.4987 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.3761, allocations: 3.094 kB / 0.4987 GB, free: 26.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3763, allocations: 239.5 kB / 0.499 GB, free: 26.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3763, allocations: 0 / 0.499 GB, free: 26.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003869/0.3767, allocations: 72.75 kB / 0.499 GB, free: 26.37 MB / 446.1 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 7.781e-05/0.3768, allocations: 99.94 kB / 0.4991 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.377, allocations: 143 kB / 0.4993 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.377, allocations: 0 / 0.4993 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.583e-05/0.3771, allocations: 59.91 kB / 0.4993 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.3777, allocations: 106.1 kB / 0.4994 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.3787, allocations: 0.8613 MB / 0.5003 GB, free: 25.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.3788, allocations: 245 kB / 0.5005 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.379, allocations: 46.86 kB / 0.5005 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.379, allocations: 31.94 kB / 0.5006 GB, free: 25.47 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.379, allocations: 0 / 0.5006 GB, free: 25.47 MB / 446.1 MB Notification: Performance of Templates: time 0.006402/0.3854, allocations: 3.261 MB / 0.5038 GB, free: 25.03 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.mat","/var/lib/jenkins1/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: 5.04266610799823]