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.002022/0.002022, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002586/0.002586, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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.1933/0.1933, allocations: 38.55 MB / 352.5 MB, free: 12.38 MB / 286.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.002091/0.002091, allocations: 71.89 kB / 493 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4299, allocations: 62.46 MB / 0.5424 GB, free: 392 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.008528/0.4384, allocations: 5.218 MB / 0.5475 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.4411, allocations: 1.07 MB / 0.5486 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.4414, allocations: 26.88 kB / 0.5486 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.4416, allocations: 82.86 kB / 0.5487 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008537/0.4425, allocations: 305 kB / 0.549 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.4429, allocations: 143.6 kB / 0.5491 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008579/0.4437, allocations: 0.6976 MB / 0.5498 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.444, allocations: 126 kB / 0.5499 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006623/0.4447, allocations: 324.8 kB / 0.5502 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005903/0.4452, allocations: 322.5 kB / 0.5505 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.191e-05/0.4453, allocations: 33.06 kB / 0.5505 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.4454, allocations: 37.34 kB / 0.5506 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.4456, allocations: 163.2 kB / 0.5507 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.4459, allocations: 200.3 kB / 0.5509 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006752/0.4465, allocations: 0.4924 MB / 0.5514 GB, free: 9.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4465, allocations: 0.9688 kB / 0.5514 GB, free: 9.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4465, allocations: 0 / 0.5514 GB, free: 9.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.4466, allocations: 0 / 0.5514 GB, free: 9.691 MB / 398.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.001577/0.4481, allocations: 0.7294 MB / 0.5521 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4482, allocations: 8.531 kB / 0.5521 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.4483, allocations: 62.06 kB / 0.5522 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000823/0.4491, allocations: 390.6 kB / 0.5526 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.4492, allocations: 28.25 kB / 0.5526 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/0.4492, allocations: 40.3 kB / 0.5526 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/0.45, allocations: 458 kB / 0.5531 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.45, allocations: 9.047 kB / 0.5531 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.4501, allocations: 19.36 kB / 0.5531 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.4501, allocations: 9.094 kB / 0.5531 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.4507, allocations: 303.8 kB / 0.5534 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.4529, allocations: 1.585 MB / 0.5549 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.4531, allocations: 132.7 kB / 0.5551 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.4532, allocations: 55.92 kB / 0.5551 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.4533, allocations: 14.05 kB / 0.5551 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/0.4533, allocations: 36.66 kB / 0.5552 GB, free: 6.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.023e-06/0.4533, allocations: 5.062 kB / 0.5552 GB, free: 6.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001074/0.4544, allocations: 0.5339 MB / 0.5557 GB, free: 6.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.488e-05/0.4545, allocations: 114.1 kB / 0.5558 GB, free: 6.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.4549, allocations: 358.5 kB / 0.5561 GB, free: 5.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.4549, allocations: 29.7 kB / 0.5562 GB, free: 5.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.4551, allocations: 292 kB / 0.5564 GB, free: 5.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.4552, allocations: 63.47 kB / 0.5565 GB, free: 5.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.4553, allocations: 61.64 kB / 0.5566 GB, free: 5.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.4555, allocations: 346.8 kB / 0.5569 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.403e-05/0.4556, allocations: 47.98 kB / 0.5569 GB, free: 4.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.4558, allocations: 194.7 kB / 0.5571 GB, free: 4.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.4562, allocations: 275 kB / 0.5574 GB, free: 4.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4562, allocations: 0 / 0.5574 GB, free: 4.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004578/0.4567, allocations: 293.3 kB / 0.5577 GB, free: 4.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.4567, allocations: 8 kB / 0.5577 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4567, allocations: 4 kB / 0.5577 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.4567, allocations: 11.98 kB / 0.5577 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.457, allocations: 63.92 kB / 0.5578 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.457, allocations: 19.86 kB / 0.5578 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.4572, allocations: 12 kB / 0.5578 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.4572, allocations: 16 kB / 0.5578 GB, free: 3.91 MB / 398.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.00023/0.4574, allocations: 185.8 kB / 0.558 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.4575, allocations: 39.77 kB / 0.558 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.4578, allocations: 164.6 kB / 0.5582 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4578, allocations: 4 kB / 0.5582 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4578, allocations: 0 / 0.5582 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4579, allocations: 4 kB / 0.5582 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.4585, allocations: 434.8 kB / 0.5586 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4585, allocations: 4 kB / 0.5586 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.4587, allocations: 31.98 kB / 0.5586 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4587, allocations: 0 / 0.5586 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4587, allocations: 11.98 kB / 0.5586 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4587, allocations: 4.031 kB / 0.5586 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4587, allocations: 0 / 0.5586 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.4592, allocations: 408.6 kB / 0.559 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.4593, allocations: 35.73 kB / 0.5591 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.4594, allocations: 11.94 kB / 0.5591 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.4595, allocations: 0 / 0.5591 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.4595, allocations: 19.92 kB / 0.5591 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4596, allocations: 7.984 kB / 0.5591 GB, free: 2.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.4598, allocations: 235.2 kB / 0.5593 GB, free: 2.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4598, allocations: 0 / 0.5593 GB, free: 2.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004434/0.4603, allocations: 79.94 kB / 0.5594 GB, free: 2.191 MB / 398.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 0.0001154/0.4604, allocations: 103.3 kB / 0.5595 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.4607, allocations: 144.2 kB / 0.5596 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4607, allocations: 1.25 kB / 0.5596 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.465e-05/0.4608, allocations: 55.86 kB / 0.5597 GB, free: 1.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/0.4615, allocations: 100.1 kB / 0.5598 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.463, allocations: 0.8719 MB / 0.5606 GB, free: 0.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4633, allocations: 231.8 kB / 0.5609 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000153/0.4635, allocations: 55.25 kB / 0.5609 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.4636, allocations: 31.44 kB / 0.5609 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4636, allocations: 0 / 0.5609 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of Templates: time 0.008986/0.4725, allocations: 3.856 MB / 0.5647 GB, free: 12.76 MB / 414.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 -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: 5.591357324272394]