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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1808/0.1808, allocations: 38.53 MB / 344.5 MB, free: 2.594 MB / 270.1 MB " [Timeout remaining time 180] 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.001939/0.001939, allocations: 71.88 kB / 482 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3442, allocations: 61.24 MB / 0.5305 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.00604/0.3503, allocations: 4.539 MB / 0.535 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.3527, allocations: 1.444 MB / 0.5364 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.3529, allocations: 12.19 kB / 0.5364 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.3539, allocations: 390.4 kB / 0.5368 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005408/0.3545, allocations: 232.1 kB / 0.537 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.3552, allocations: 240.2 kB / 0.5372 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005334/0.3557, allocations: 0.535 MB / 0.5377 GB, free: 384 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.3561, allocations: 189 kB / 0.5379 GB, free: 268 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.3564, allocations: 244.1 kB / 0.5382 GB, free: 128 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.3568, allocations: 326.8 kB / 0.5385 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.3568, allocations: 31.62 kB / 0.5385 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.3572, allocations: 149.2 kB / 0.5386 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.3574, allocations: 228.5 kB / 0.5389 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.3577, allocations: 231.8 kB / 0.5391 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007147/0.3584, allocations: 0.5687 MB / 0.5396 GB, free: 15.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3584, allocations: 0 / 0.5396 GB, free: 15.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3584, allocations: 1.188 kB / 0.5396 GB, free: 15.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3584, allocations: 0 / 0.5396 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.001453/0.3598, allocations: 0.7478 MB / 0.5404 GB, free: 14.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.3599, allocations: 17 kB / 0.5404 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005625/0.3605, allocations: 84.08 kB / 0.5405 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007103/0.3612, allocations: 409.4 kB / 0.5409 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.3612, allocations: 33.86 kB / 0.5409 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.3613, allocations: 49.66 kB / 0.5409 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009898/0.3623, allocations: 0.6283 MB / 0.5415 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.3624, allocations: 1.875 kB / 0.5416 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.3624, allocations: 18.25 kB / 0.5416 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.3625, allocations: 28.05 kB / 0.5416 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007838/0.3633, allocations: 479.7 kB / 0.5421 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003446/0.3668, allocations: 2.89 MB / 0.5449 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.3672, allocations: 223.7 kB / 0.5451 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.3674, allocations: 137.6 kB / 0.5452 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.3674, allocations: 10.5 kB / 0.5452 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.3675, allocations: 36.94 kB / 0.5453 GB, free: 10.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.104e-06/0.3675, allocations: 0 / 0.5453 GB, free: 10.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001704/0.3692, allocations: 0.9786 MB / 0.5462 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.3692, allocations: 80.58 kB / 0.5463 GB, free: 9.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.3696, allocations: 326.4 kB / 0.5466 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.3697, allocations: 30.67 kB / 0.5466 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.3699, allocations: 278.4 kB / 0.5469 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.682e-05/0.37, allocations: 112.7 kB / 0.547 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.3701, allocations: 92.86 kB / 0.5471 GB, free: 9.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3703, allocations: 352.1 kB / 0.5474 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.3705, allocations: 143.9 kB / 0.5476 GB, free: 8.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.3709, allocations: 348.1 kB / 0.5479 GB, free: 8.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006721/0.3716, allocations: 0.5231 MB / 0.5484 GB, free: 8.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3716, allocations: 1.25 kB / 0.5484 GB, free: 8.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008104/0.3724, allocations: 0.5262 MB / 0.5489 GB, free: 7.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3724, allocations: 8.531 kB / 0.5489 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.3724, allocations: 6.719 kB / 0.5489 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.3725, allocations: 13.19 kB / 0.549 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.3729, allocations: 121.8 kB / 0.5491 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.3729, allocations: 13.64 kB / 0.5491 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.3732, allocations: 24.22 kB / 0.5491 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.3732, allocations: 23.34 kB / 0.5491 GB, free: 7.715 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.0002645/0.3735, allocations: 223.3 kB / 0.5493 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.3735, allocations: 31.53 kB / 0.5494 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.3742, allocations: 365.6 kB / 0.5497 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3742, allocations: 3.469 kB / 0.5497 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3742, allocations: 5.062 kB / 0.5497 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3742, allocations: 1.406 kB / 0.5497 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.3757, allocations: 0.8891 MB / 0.5506 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3757, allocations: 1.156 kB / 0.5506 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.376, allocations: 66.72 kB / 0.5507 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.376, allocations: 2.406 kB / 0.5507 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3761, allocations: 11.55 kB / 0.5507 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.3761, allocations: 6.438 kB / 0.5507 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3761, allocations: 1.156 kB / 0.5507 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.3769, allocations: 0.5838 MB / 0.5513 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.3771, allocations: 106.9 kB / 0.5514 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.3771, allocations: 12.31 kB / 0.5514 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.3773, allocations: 12.39 kB / 0.5514 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.3774, allocations: 20.78 kB / 0.5514 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.3774, allocations: 12.53 kB / 0.5514 GB, free: 6.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002724/0.3777, allocations: 220.8 kB / 0.5516 GB, free: 5.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3777, allocations: 0 / 0.5516 GB, free: 5.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005739/0.3782, allocations: 89.59 kB / 0.5517 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.0001632/0.3784, allocations: 118.4 kB / 0.5518 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006283/0.379, allocations: 355.7 kB / 0.5522 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.379, allocations: 1.531 kB / 0.5522 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.3793, allocations: 139.2 kB / 0.5523 GB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.3798, allocations: 69.03 kB / 0.5524 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.3816, allocations: 1.008 MB / 0.5533 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.3821, allocations: 0.8543 MB / 0.5542 GB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003182/0.3824, allocations: 131.1 kB / 0.5543 GB, free: 3.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3825, allocations: 35.42 kB / 0.5543 GB, free: 3.441 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3825, allocations: 0 / 0.5543 GB, free: 3.441 MB / 398.1 MB Notification: Performance of Templates: time 0.008292/0.3908, allocations: 3.614 MB / 0.5579 GB, free: 15.85 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceInertial.mat","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 5.116948523558676]