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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 194 kB / 22.75 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.184/0.184, allocations: 38.52 MB / 345 MB, free: 2.656 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001897/0.001897, allocations: 63.89 kB / 482.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3428, allocations: 61.23 MB / 0.5309 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.006062/0.3488, allocations: 5.528 MB / 0.5363 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3507, allocations: 1.118 MB / 0.5374 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.351, allocations: 22.88 kB / 0.5374 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.3513, allocations: 78.81 kB / 0.5375 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006924/0.352, allocations: 299.8 kB / 0.5378 GB, free: 492 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.3523, allocations: 144.5 kB / 0.5379 GB, free: 372 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006012/0.3529, allocations: 0.6986 MB / 0.5386 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.3531, allocations: 143 kB / 0.5388 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000454/0.3536, allocations: 317.9 kB / 0.5391 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005383/0.3541, allocations: 346.4 kB / 0.5394 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.565e-05/0.3542, allocations: 33.09 kB / 0.5394 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.3543, allocations: 37.94 kB / 0.5395 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.3545, allocations: 154.6 kB / 0.5396 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.3547, allocations: 243.3 kB / 0.5398 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.3554, allocations: 496.2 kB / 0.5403 GB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3554, allocations: 1.562 kB / 0.5403 GB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3554, allocations: 0 / 0.5403 GB, free: 14.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.3554, allocations: 0 / 0.5403 GB, free: 14.91 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.001413/0.3568, allocations: 0.8101 MB / 0.5411 GB, free: 14.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3568, allocations: 9.781 kB / 0.5411 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.3569, allocations: 54.11 kB / 0.5412 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007969/0.3577, allocations: 469 kB / 0.5416 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.3577, allocations: 32.56 kB / 0.5416 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/0.3578, allocations: 34.88 kB / 0.5417 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007468/0.3586, allocations: 463.9 kB / 0.5421 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3586, allocations: 1.344 kB / 0.5421 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.3586, allocations: 15.25 kB / 0.5421 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.3586, allocations: 13.62 kB / 0.5421 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/0.3591, allocations: 305.4 kB / 0.5424 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.3613, allocations: 1.766 MB / 0.5442 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.3616, allocations: 140.4 kB / 0.5443 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.252e-05/0.3617, allocations: 55.02 kB / 0.5443 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3617, allocations: 2.219 kB / 0.5443 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.3617, allocations: 39.67 kB / 0.5444 GB, free: 11.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.3617, allocations: 1.406 kB / 0.5444 GB, free: 11.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001097/0.3628, allocations: 0.617 MB / 0.545 GB, free: 10.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.3629, allocations: 105.1 kB / 0.5451 GB, free: 10.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/0.3634, allocations: 377 kB / 0.5454 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.3634, allocations: 26.83 kB / 0.5455 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.3636, allocations: 288.8 kB / 0.5457 GB, free: 10.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.3637, allocations: 66.78 kB / 0.5458 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.3638, allocations: 59.3 kB / 0.5459 GB, free: 10.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3639, allocations: 347.7 kB / 0.5462 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.364, allocations: 50.84 kB / 0.5462 GB, free: 9.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.3643, allocations: 194.5 kB / 0.5464 GB, free: 9.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.3646, allocations: 274.1 kB / 0.5467 GB, free: 9.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3646, allocations: 1.125 kB / 0.5467 GB, free: 9.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004268/0.365, allocations: 294.1 kB / 0.547 GB, free: 9.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3651, allocations: 6.844 kB / 0.547 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3651, allocations: 4.531 kB / 0.547 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3651, allocations: 6.75 kB / 0.547 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.3653, allocations: 74.19 kB / 0.5471 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.3654, allocations: 10.05 kB / 0.5471 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3655, allocations: 10.44 kB / 0.5471 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.3656, allocations: 13.59 kB / 0.5471 GB, free: 9.188 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.0002051/0.3658, allocations: 194.7 kB / 0.5473 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/0.3658, allocations: 40.97 kB / 0.5473 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.3661, allocations: 164.7 kB / 0.5475 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3661, allocations: 2.5 kB / 0.5475 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3662, allocations: 1.375 kB / 0.5475 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3662, allocations: 1.312 kB / 0.5475 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007294/0.3669, allocations: 0.5331 MB / 0.548 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.3669, allocations: 5.047 kB / 0.548 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.3671, allocations: 39.95 kB / 0.548 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3671, allocations: 1.344 kB / 0.548 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3671, allocations: 6.609 kB / 0.5481 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.3671, allocations: 2.688 kB / 0.5481 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3671, allocations: 3.938 kB / 0.5481 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.3676, allocations: 403.3 kB / 0.5484 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.3678, allocations: 114.5 kB / 0.5486 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.3678, allocations: 7.094 kB / 0.5486 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.368, allocations: 10 kB / 0.5486 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.368, allocations: 13.56 kB / 0.5486 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.368, allocations: 8.125 kB / 0.5486 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003337/0.3684, allocations: 255.8 kB / 0.5488 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3684, allocations: 4 kB / 0.5488 GB, free: 7.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004806/0.3689, allocations: 69.94 kB / 0.5489 GB, free: 7.75 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.0001266/0.369, allocations: 105.5 kB / 0.549 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.3693, allocations: 147.8 kB / 0.5491 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.3693, allocations: 5.406 kB / 0.5492 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.3694, allocations: 47.7 kB / 0.5492 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.3701, allocations: 99.12 kB / 0.5493 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.3717, allocations: 0.9177 MB / 0.5502 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.3723, allocations: 0.843 MB / 0.551 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.3723, allocations: 30.22 kB / 0.551 GB, free: 6.086 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3723, allocations: 0 / 0.551 GB, free: 6.086 MB / 398.1 MB Notification: Performance of Templates: time 0.009037/0.3814, allocations: 4.684 MB / 0.5556 GB, free: 2.707 MB / 398.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/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