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.001295/0.001295, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001431/0.001431, allocations: 181.8 kB / 23.71 MB, free: 4.695 MB / 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.488/1.488, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.1971/0.1971, allocations: 38.55 MB / 346.3 MB, free: 2.215 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.00221/0.00221, allocations: 63.89 kB / 484.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3718, allocations: 61.29 MB / 0.533 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.006765/0.3786, allocations: 4.567 MB / 0.5375 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.381, allocations: 1.447 MB / 0.5389 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.3813, allocations: 24 kB / 0.5389 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.3825, allocations: 386.4 kB / 0.5393 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007613/0.3833, allocations: 232.8 kB / 0.5395 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/0.3841, allocations: 240.5 kB / 0.5397 GB, free: 356 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000582/0.3846, allocations: 0.538 MB / 0.5403 GB, free: 48 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.385, allocations: 191.1 kB / 0.5404 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.3854, allocations: 246.3 kB / 0.5407 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004851/0.3859, allocations: 320.6 kB / 0.541 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.386, allocations: 31.94 kB / 0.541 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.3863, allocations: 154.8 kB / 0.5412 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.3866, allocations: 228 kB / 0.5414 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.3869, allocations: 237 kB / 0.5416 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000853/0.3877, allocations: 0.5683 MB / 0.5422 GB, free: 14.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3877, allocations: 0 / 0.5422 GB, free: 14.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3877, allocations: 1.156 kB / 0.5422 GB, free: 14.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.3878, allocations: 0 / 0.5422 GB, free: 14.88 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.001404/0.3892, allocations: 0.6691 MB / 0.5428 GB, free: 14.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3892, allocations: 9.281 kB / 0.5428 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005772/0.3898, allocations: 87.16 kB / 0.5429 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007313/0.3905, allocations: 345.3 kB / 0.5432 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.3905, allocations: 29 kB / 0.5433 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.3907, allocations: 49.81 kB / 0.5433 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009601/0.3916, allocations: 0.627 MB / 0.5439 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.3916, allocations: 6.125 kB / 0.5439 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.3917, allocations: 20.58 kB / 0.544 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.3918, allocations: 28.3 kB / 0.544 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.3926, allocations: 480.7 kB / 0.5444 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004043/0.3966, allocations: 2.828 MB / 0.5472 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.3971, allocations: 222.1 kB / 0.5474 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.3973, allocations: 137.7 kB / 0.5475 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.3974, allocations: 7.422 kB / 0.5475 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.3974, allocations: 39.88 kB / 0.5476 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.795e-06/0.3974, allocations: 1.469 kB / 0.5476 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001907/0.3993, allocations: 0.8966 MB / 0.5485 GB, free: 9.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.3994, allocations: 80.7 kB / 0.5485 GB, free: 9.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.3998, allocations: 321 kB / 0.5488 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.3998, allocations: 30.77 kB / 0.5489 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.4, allocations: 282.8 kB / 0.5491 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.4001, allocations: 105.6 kB / 0.5492 GB, free: 9.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.4003, allocations: 95.55 kB / 0.5493 GB, free: 9.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4004, allocations: 352.1 kB / 0.5497 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.4007, allocations: 149.1 kB / 0.5498 GB, free: 8.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.4011, allocations: 339.3 kB / 0.5501 GB, free: 8.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.4018, allocations: 0.5222 MB / 0.5506 GB, free: 8.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4018, allocations: 2.375 kB / 0.5507 GB, free: 8.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008585/0.4026, allocations: 0.5248 MB / 0.5512 GB, free: 7.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4027, allocations: 9.719 kB / 0.5512 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.4027, allocations: 5.844 kB / 0.5512 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/0.4027, allocations: 9.438 kB / 0.5512 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.4032, allocations: 125.4 kB / 0.5513 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.476e-05/0.4032, allocations: 14.03 kB / 0.5513 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.4035, allocations: 41.14 kB / 0.5514 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.4035, allocations: 22.94 kB / 0.5514 GB, free: 7.746 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.0002876/0.4038, allocations: 209.5 kB / 0.5516 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/0.4039, allocations: 31.59 kB / 0.5516 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006688/0.4046, allocations: 373.7 kB / 0.552 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4046, allocations: 3.344 kB / 0.552 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4046, allocations: 1.094 kB / 0.552 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4046, allocations: 5.266 kB / 0.552 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.4062, allocations: 0.8497 MB / 0.5528 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4062, allocations: 1.281 kB / 0.5528 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.4065, allocations: 71.36 kB / 0.5529 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.4065, allocations: 2.562 kB / 0.5529 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.4066, allocations: 11.81 kB / 0.5529 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.4066, allocations: 5.281 kB / 0.5529 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4066, allocations: 6.656 kB / 0.5529 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009241/0.4075, allocations: 0.5865 MB / 0.5535 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.4076, allocations: 34.92 kB / 0.5535 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.4076, allocations: 7.703 kB / 0.5535 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.4078, allocations: 16.8 kB / 0.5535 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.4079, allocations: 18.83 kB / 0.5535 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.4079, allocations: 12.19 kB / 0.5536 GB, free: 6.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002681/0.4081, allocations: 223 kB / 0.5538 GB, free: 6.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4081, allocations: 4 kB / 0.5538 GB, free: 6.074 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005018/0.4087, allocations: 92 kB / 0.5539 GB, free: 5.984 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.000138/0.4088, allocations: 103.2 kB / 0.554 GB, free: 5.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006121/0.4094, allocations: 353.2 kB / 0.5543 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4094, allocations: 0 / 0.5543 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.4096, allocations: 131.8 kB / 0.5544 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.4102, allocations: 78.06 kB / 0.5545 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.4119, allocations: 1.012 MB / 0.5555 GB, free: 4.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.4125, allocations: 0.8504 MB / 0.5563 GB, free: 3.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000335/0.4128, allocations: 127.1 kB / 0.5564 GB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.413, allocations: 43.42 kB / 0.5565 GB, free: 3.234 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.413, allocations: 0 / 0.5565 GB, free: 3.234 MB / 398.1 MB Notification: Performance of Templates: time 0.009265/0.4222, allocations: 3.762 MB / 0.5602 GB, free: 15.49 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.172846661880612]