Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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.001551/0.001551, allocations: 104 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.001772/0.001772, allocations: 195.3 kB / 22.76 MB, free: 5.727 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.391/1.391, allocations: 225.6 MB / 251.4 MB, free: 13.39 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.1785/0.1785, allocations: 38.52 MB / 345 MB, free: 2.621 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.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 75.81 kB / 482.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3534, allocations: 61.24 MB / 0.5309 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.005118/0.3586, allocations: 4.509 MB / 0.5353 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.3607, allocations: 1.43 MB / 0.5367 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.3609, allocations: 13.09 kB / 0.5367 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.3619, allocations: 384 kB / 0.5371 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005081/0.3624, allocations: 232.9 kB / 0.5373 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.363, allocations: 244 kB / 0.5376 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.3635, allocations: 0.5378 MB / 0.5381 GB, free: 396 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003383/0.3639, allocations: 210.8 kB / 0.5383 GB, free: 280 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.3642, allocations: 256.9 kB / 0.5385 GB, free: 128 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.3646, allocations: 315.8 kB / 0.5388 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.3647, allocations: 31.31 kB / 0.5389 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.365, allocations: 149.3 kB / 0.539 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.3652, allocations: 231.1 kB / 0.5392 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.3655, allocations: 236.9 kB / 0.5395 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007614/0.3663, allocations: 0.5648 MB / 0.54 GB, free: 15.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3663, allocations: 0 / 0.54 GB, free: 15.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3663, allocations: 0 / 0.54 GB, free: 15.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3663, allocations: 5.625 kB / 0.54 GB, free: 15.21 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001436/0.3677, allocations: 0.7464 MB / 0.5407 GB, free: 14.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3678, allocations: 12.92 kB / 0.5407 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005359/0.3683, allocations: 79.2 kB / 0.5408 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.3691, allocations: 417.7 kB / 0.5412 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.3691, allocations: 29.19 kB / 0.5413 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.3692, allocations: 50.31 kB / 0.5413 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009912/0.3702, allocations: 0.6231 MB / 0.5419 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.3702, allocations: 5.188 kB / 0.5419 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.3703, allocations: 17.78 kB / 0.5419 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.3704, allocations: 28.33 kB / 0.542 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/0.3712, allocations: 488.4 kB / 0.5424 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.3747, allocations: 2.878 MB / 0.5452 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.3751, allocations: 228.9 kB / 0.5455 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.3754, allocations: 133.1 kB / 0.5456 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.3754, allocations: 11.56 kB / 0.5456 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.3755, allocations: 35.72 kB / 0.5456 GB, free: 10.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.783e-06/0.3755, allocations: 5.094 kB / 0.5456 GB, free: 10.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001805/0.3773, allocations: 0.9701 MB / 0.5466 GB, free: 9.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.3773, allocations: 84.33 kB / 0.5467 GB, free: 9.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.3777, allocations: 321.7 kB / 0.547 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.3777, allocations: 30.8 kB / 0.547 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.3779, allocations: 291.2 kB / 0.5473 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.688e-05/0.378, allocations: 105.2 kB / 0.5474 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3782, allocations: 96.52 kB / 0.5475 GB, free: 9.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3784, allocations: 351.9 kB / 0.5478 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.3786, allocations: 143.8 kB / 0.5479 GB, free: 8.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.379, allocations: 348.2 kB / 0.5483 GB, free: 8.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007033/0.3797, allocations: 0.5222 MB / 0.5488 GB, free: 8.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3797, allocations: 2.156 kB / 0.5488 GB, free: 8.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000879/0.3806, allocations: 0.5258 MB / 0.5493 GB, free: 7.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3806, allocations: 8.812 kB / 0.5493 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.3806, allocations: 10.12 kB / 0.5493 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.3807, allocations: 10.25 kB / 0.5493 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.3811, allocations: 121.6 kB / 0.5494 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/0.3811, allocations: 17.8 kB / 0.5495 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.3814, allocations: 28.5 kB / 0.5495 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.3814, allocations: 26.98 kB / 0.5495 GB, free: 7.711 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * 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.0003166/0.3818, allocations: 211.6 kB / 0.5497 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.3818, allocations: 35.38 kB / 0.5497 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006773/0.3825, allocations: 365.6 kB / 0.5501 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3825, allocations: 3.062 kB / 0.5501 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3825, allocations: 0.9062 kB / 0.5501 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3825, allocations: 5.141 kB / 0.5501 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.3841, allocations: 0.8785 MB / 0.551 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3841, allocations: 5.688 kB / 0.551 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.3844, allocations: 69.48 kB / 0.551 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3844, allocations: 1.969 kB / 0.551 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.3844, allocations: 12.53 kB / 0.551 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.3844, allocations: 6.719 kB / 0.551 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3844, allocations: 1.406 kB / 0.551 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008694/0.3853, allocations: 0.5791 MB / 0.5516 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.3854, allocations: 110.9 kB / 0.5517 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.593e-05/0.3855, allocations: 12.34 kB / 0.5517 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.3857, allocations: 11.41 kB / 0.5517 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.3857, allocations: 17.59 kB / 0.5518 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.3858, allocations: 15.38 kB / 0.5518 GB, free: 6.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003109/0.3861, allocations: 225.2 kB / 0.552 GB, free: 5.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3861, allocations: 0 / 0.552 GB, free: 5.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005933/0.3867, allocations: 94.62 kB / 0.5521 GB, free: 5.949 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (31): * Single equations (assignments): 30 * 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.0001603/0.3868, allocations: 106 kB / 0.5522 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007747/0.3876, allocations: 363.3 kB / 0.5525 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3876, allocations: 1.25 kB / 0.5525 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.3878, allocations: 135.7 kB / 0.5527 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.3884, allocations: 69.66 kB / 0.5527 GB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.3902, allocations: 1.056 MB / 0.5538 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.3908, allocations: 0.8582 MB / 0.5546 GB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3909, allocations: 39.42 kB / 0.5546 GB, free: 3.57 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3909, allocations: 0 / 0.5546 GB, free: 3.57 MB / 398.1 MB Notification: Performance of Templates: time 0.008772/0.3997, allocations: 5.036 MB / 0.5596 GB, free: 14.54 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceInertial.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches