Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001925/0.001925, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002429/0.002429, allocations: 210 kB / 24.48 MB, free: 3.938 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.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1865/0.1865, allocations: 38.56 MB / 353.2 MB, free: 12.32 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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") [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.002167/0.002167, allocations: 67.89 kB / 493.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2805, allocations: 62.46 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006038/0.2865, allocations: 4.467 MB / 0.5475 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.2887, allocations: 1.265 MB / 0.5488 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.2888, allocations: 17.31 kB / 0.5488 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.29, allocations: 398.5 kB / 0.5492 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005228/0.2905, allocations: 253.7 kB / 0.5494 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.2909, allocations: 168.2 kB / 0.5496 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006097/0.2915, allocations: 0.5561 MB / 0.5501 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.2919, allocations: 236.2 kB / 0.5503 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004227/0.2923, allocations: 273.3 kB / 0.5506 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004695/0.2928, allocations: 283.3 kB / 0.5509 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.2929, allocations: 29.81 kB / 0.5509 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.2931, allocations: 122.9 kB / 0.551 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.2933, allocations: 197.3 kB / 0.5512 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.2936, allocations: 190.9 kB / 0.5514 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.2942, allocations: 0.5144 MB / 0.5519 GB, free: 9.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2942, allocations: 0 / 0.5519 GB, free: 9.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2942, allocations: 4 kB / 0.5519 GB, free: 9.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.2942, allocations: 1.062 kB / 0.5519 GB, free: 9.992 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001184/0.2954, allocations: 0.6375 MB / 0.5525 GB, free: 9.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2954, allocations: 14.11 kB / 0.5525 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005705/0.296, allocations: 91.58 kB / 0.5526 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/0.2967, allocations: 344.5 kB / 0.5529 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.2968, allocations: 27.66 kB / 0.553 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.2969, allocations: 43.64 kB / 0.553 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.2976, allocations: 484.5 kB / 0.5535 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.2976, allocations: 1.562 kB / 0.5535 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.2977, allocations: 11.97 kB / 0.5535 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.2978, allocations: 32.97 kB / 0.5535 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005646/0.2984, allocations: 350.7 kB / 0.5538 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.3006, allocations: 1.421 MB / 0.5552 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.3009, allocations: 136.1 kB / 0.5554 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3011, allocations: 109.9 kB / 0.5555 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3011, allocations: 2.344 kB / 0.5555 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.3012, allocations: 36.72 kB / 0.5555 GB, free: 7.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.3012, allocations: 0 / 0.5555 GB, free: 7.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001666/0.3028, allocations: 0.7449 MB / 0.5562 GB, free: 6.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.3029, allocations: 81.11 kB / 0.5563 GB, free: 6.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.3032, allocations: 292.5 kB / 0.5566 GB, free: 6.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.3032, allocations: 37.64 kB / 0.5566 GB, free: 6.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.3034, allocations: 263.9 kB / 0.5569 GB, free: 5.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.3035, allocations: 63.47 kB / 0.5569 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.3036, allocations: 61.94 kB / 0.557 GB, free: 5.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3037, allocations: 342.9 kB / 0.5573 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3039, allocations: 100.2 kB / 0.5574 GB, free: 5.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.3041, allocations: 201.3 kB / 0.5576 GB, free: 5.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.3046, allocations: 334.8 kB / 0.5579 GB, free: 4.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3046, allocations: 4 kB / 0.5579 GB, free: 4.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009164/0.3055, allocations: 465.9 kB / 0.5584 GB, free: 4.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.3055, allocations: 6.969 kB / 0.5584 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006364/0.3062, allocations: 304.7 kB / 0.5587 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000501/0.3067, allocations: 132.7 kB / 0.5588 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.3069, allocations: 68 kB / 0.5589 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.3099, allocations: 2.285 MB / 0.5611 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.3101, allocations: 15.98 kB / 0.5611 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.3101, allocations: 15.94 kB / 0.5611 GB, free: 1.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002348/0.3104, allocations: 196.5 kB / 0.5613 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.3104, allocations: 27.81 kB / 0.5613 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.3109, allocations: 271.7 kB / 0.5616 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3109, allocations: 4 kB / 0.5616 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3109, allocations: 3.938 kB / 0.5616 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3109, allocations: 0 / 0.5616 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.3121, allocations: 0.6254 MB / 0.5622 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3121, allocations: 0 / 0.5622 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.3123, allocations: 43.91 kB / 0.5623 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.3124, allocations: 36.89 kB / 0.5623 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.3124, allocations: 8 kB / 0.5623 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3124, allocations: 4.062 kB / 0.5623 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3124, allocations: 0 / 0.5623 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.313, allocations: 446.5 kB / 0.5627 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.3131, allocations: 23.81 kB / 0.5628 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.3131, allocations: 8 kB / 0.5628 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3133, allocations: 11.97 kB / 0.5628 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.3133, allocations: 15.97 kB / 0.5628 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3133, allocations: 8 kB / 0.5628 GB, free: 15.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.3135, allocations: 203.1 kB / 0.563 GB, free: 15.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3135, allocations: 4 kB / 0.563 GB, free: 15.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.314, allocations: 87.94 kB / 0.5631 GB, free: 15.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001159/0.3141, allocations: 103.2 kB / 0.5632 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007342/0.3148, allocations: 398.5 kB / 0.5636 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.3149, allocations: 0 / 0.5636 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.315, allocations: 100.8 kB / 0.5637 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.3155, allocations: 65.38 kB / 0.5637 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.317, allocations: 0.9337 MB / 0.5646 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.3173, allocations: 240.9 kB / 0.5649 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.3174, allocations: 27.44 kB / 0.5649 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3174, allocations: 0 / 0.5649 GB, free: 13.3 MB / 414.1 MB Notification: Performance of Templates: time 0.009027/0.3264, allocations: 5.871 MB / 0.5706 GB, free: 7.438 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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: 8.116396845318377]