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.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.001454/0.001454, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001597/0.001597, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.336/1.336, allocations: 230.6 MB / 258.3 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 179] 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.1696/0.1696, allocations: 38.52 MB / 353.2 MB, free: 12.59 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.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: 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.001875/0.001875, allocations: 78.7 kB / 493.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2843, allocations: 62.46 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.0059/0.2902, allocations: 4.575 MB / 0.5477 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.2926, allocations: 1.501 MB / 0.5491 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.2928, allocations: 16.75 kB / 0.5492 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.2939, allocations: 390.6 kB / 0.5495 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.2944, allocations: 228.7 kB / 0.5497 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.295, allocations: 245.9 kB / 0.55 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006161/0.2957, allocations: 0.5379 MB / 0.5505 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.296, allocations: 220.2 kB / 0.5507 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004021/0.2964, allocations: 260.8 kB / 0.551 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.2968, allocations: 316.6 kB / 0.5513 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.2969, allocations: 32.94 kB / 0.5513 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.2972, allocations: 160.9 kB / 0.5515 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.2974, allocations: 232 kB / 0.5517 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.2977, allocations: 232 kB / 0.5519 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007209/0.2984, allocations: 0.5762 MB / 0.5525 GB, free: 9.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2984, allocations: 4 kB / 0.5525 GB, free: 9.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2984, allocations: 0 / 0.5525 GB, free: 9.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2984, allocations: 0 / 0.5525 GB, free: 9.66 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.001206/0.2996, allocations: 0.6769 MB / 0.5531 GB, free: 9.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2996, allocations: 13.14 kB / 0.5531 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006467/0.3003, allocations: 119.6 kB / 0.5532 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006942/0.301, allocations: 344.9 kB / 0.5536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.301, allocations: 33.03 kB / 0.5536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.3011, allocations: 54.58 kB / 0.5537 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.3021, allocations: 0.6225 MB / 0.5543 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.3021, allocations: 1.125 kB / 0.5543 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.3021, allocations: 17.5 kB / 0.5543 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.3022, allocations: 33.14 kB / 0.5543 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.303, allocations: 483.9 kB / 0.5548 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.3063, allocations: 2.822 MB / 0.5575 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.3067, allocations: 220.2 kB / 0.5577 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.3069, allocations: 137.7 kB / 0.5579 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.3069, allocations: 11.97 kB / 0.5579 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.307, allocations: 42.55 kB / 0.5579 GB, free: 5.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.064e-06/0.307, allocations: 0 / 0.5579 GB, free: 5.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001587/0.3086, allocations: 0.9038 MB / 0.5588 GB, free: 4.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.3086, allocations: 81.11 kB / 0.5589 GB, free: 4.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.309, allocations: 324.4 kB / 0.5592 GB, free: 3.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.309, allocations: 33.7 kB / 0.5592 GB, free: 3.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.3092, allocations: 284.2 kB / 0.5595 GB, free: 3.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.046e-05/0.3093, allocations: 107.1 kB / 0.5596 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.3094, allocations: 90.14 kB / 0.5597 GB, free: 3.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3096, allocations: 350.8 kB / 0.56 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.3099, allocations: 144.9 kB / 0.5602 GB, free: 2.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.3103, allocations: 346.6 kB / 0.5605 GB, free: 2.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006632/0.3109, allocations: 0.509 MB / 0.561 GB, free: 1.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.3109, allocations: 4 kB / 0.561 GB, free: 1.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008265/0.3118, allocations: 0.5327 MB / 0.5615 GB, free: 1.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3118, allocations: 8 kB / 0.5615 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3118, allocations: 8 kB / 0.5615 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.3118, allocations: 8 kB / 0.5615 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.3122, allocations: 123.8 kB / 0.5617 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.3123, allocations: 11.98 kB / 0.5617 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3125, allocations: 23.98 kB / 0.5617 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.3125, allocations: 24 kB / 0.5617 GB, free: 0.9336 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.0002451/0.3128, allocations: 221.7 kB / 0.5619 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.3128, allocations: 35.81 kB / 0.562 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006093/0.3134, allocations: 362.2 kB / 0.5623 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.3135, allocations: 4 kB / 0.5623 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3135, allocations: 0 / 0.5623 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3135, allocations: 3.938 kB / 0.5623 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.3149, allocations: 0.8596 MB / 0.5632 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3149, allocations: 0 / 0.5632 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.3152, allocations: 67.91 kB / 0.5632 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3152, allocations: 0 / 0.5632 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.3153, allocations: 11.98 kB / 0.5632 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3153, allocations: 7.938 kB / 0.5632 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3153, allocations: 4 kB / 0.5632 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007945/0.3161, allocations: 0.582 MB / 0.5638 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.3161, allocations: 39.72 kB / 0.5638 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.3162, allocations: 8 kB / 0.5639 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.3163, allocations: 15.92 kB / 0.5639 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.3164, allocations: 19.97 kB / 0.5639 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.3164, allocations: 12 kB / 0.5639 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.3166, allocations: 223 kB / 0.5641 GB, free: 14.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3166, allocations: 0 / 0.5641 GB, free: 14.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004332/0.3171, allocations: 92 kB / 0.5642 GB, free: 14.28 MB / 414.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.0001189/0.3172, allocations: 103.2 kB / 0.5643 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000587/0.3178, allocations: 351.5 kB / 0.5646 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3178, allocations: 5.812 kB / 0.5646 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.318, allocations: 135.7 kB / 0.5648 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3185, allocations: 70.36 kB / 0.5648 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.3201, allocations: 1.062 MB / 0.5659 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.3206, allocations: 0.8504 MB / 0.5667 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.3207, allocations: 43.42 kB / 0.5667 GB, free: 11.59 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3207, allocations: 0 / 0.5667 GB, free: 11.59 MB / 414.1 MB Notification: Performance of Templates: time 0.007877/0.3286, allocations: 5.039 MB / 0.5717 GB, free: 6.566 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 [Calling sys.exit(0), Time elapsed: 7.686859744833782]