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.001814/0.001814, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002247/0.002247, allocations: 211.4 kB / 23.73 MB, free: 4.387 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.628/1.628, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1859/0.1859, allocations: 38.56 MB / 352.5 MB, free: 12.3 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.002149/0.002149, allocations: 75.89 kB / 493 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3755, allocations: 62.46 MB / 0.5424 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.008308/0.3838, allocations: 4.466 MB / 0.5468 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.3874, allocations: 1.264 MB / 0.548 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.3877, allocations: 17.16 kB / 0.548 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.3894, allocations: 388.2 kB / 0.5484 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008828/0.3902, allocations: 260.9 kB / 0.5487 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.391, allocations: 172.4 kB / 0.5488 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.3921, allocations: 0.5596 MB / 0.5494 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005667/0.3926, allocations: 225.9 kB / 0.5496 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000672/0.3933, allocations: 272.3 kB / 0.5499 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006624/0.394, allocations: 292.9 kB / 0.5501 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.171e-05/0.394, allocations: 28.84 kB / 0.5502 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.3944, allocations: 127.3 kB / 0.5503 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002986/0.3947, allocations: 197.2 kB / 0.5505 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.395, allocations: 182.9 kB / 0.5506 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009219/0.396, allocations: 0.5176 MB / 0.5511 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.396, allocations: 1 kB / 0.5511 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.396, allocations: 0 / 0.5511 GB, free: 9.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.396, allocations: 4 kB / 0.5512 GB, free: 9.965 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.001672/0.3977, allocations: 0.631 MB / 0.5518 GB, free: 9.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3977, allocations: 13.02 kB / 0.5518 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008552/0.3986, allocations: 92.67 kB / 0.5519 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.3996, allocations: 348.6 kB / 0.5522 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.3997, allocations: 26.75 kB / 0.5522 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.3999, allocations: 43.31 kB / 0.5523 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.401, allocations: 481.7 kB / 0.5527 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.401, allocations: 5.219 kB / 0.5527 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.162e-05/0.4011, allocations: 15.56 kB / 0.5527 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.4012, allocations: 25.14 kB / 0.5528 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.402, allocations: 354.7 kB / 0.5531 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.4052, allocations: 1.417 MB / 0.5545 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.4056, allocations: 140.7 kB / 0.5546 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.4059, allocations: 105.2 kB / 0.5547 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.4059, allocations: 10.34 kB / 0.5547 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.224e-05/0.4059, allocations: 41.31 kB / 0.5548 GB, free: 7.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 3.006e-06/0.406, allocations: 0 / 0.5548 GB, free: 7.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.002283/0.4082, allocations: 0.7415 MB / 0.5555 GB, free: 6.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.389e-05/0.4083, allocations: 81.11 kB / 0.5556 GB, free: 6.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.4088, allocations: 292.5 kB / 0.5559 GB, free: 6.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.4089, allocations: 29.7 kB / 0.5559 GB, free: 6.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.4091, allocations: 263.9 kB / 0.5561 GB, free: 5.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.336e-05/0.4092, allocations: 63.47 kB / 0.5562 GB, free: 5.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.4094, allocations: 61.94 kB / 0.5563 GB, free: 5.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4096, allocations: 338.8 kB / 0.5566 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.4098, allocations: 96.22 kB / 0.5567 GB, free: 5.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.4102, allocations: 205.5 kB / 0.5569 GB, free: 5.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/0.4109, allocations: 335.6 kB / 0.5572 GB, free: 4.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4109, allocations: 0 / 0.5572 GB, free: 4.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001387/0.4122, allocations: 465.9 kB / 0.5576 GB, free: 4.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.4123, allocations: 8 kB / 0.5576 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009138/0.4132, allocations: 307.5 kB / 0.5579 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006895/0.4139, allocations: 136.7 kB / 0.5581 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.4142, allocations: 67.83 kB / 0.5581 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004253/0.4184, allocations: 2.285 MB / 0.5604 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.4187, allocations: 15.98 kB / 0.5604 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.4187, allocations: 15.94 kB / 0.5604 GB, free: 1.316 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.0002969/0.419, allocations: 189.7 kB / 0.5606 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/0.4191, allocations: 31.81 kB / 0.5606 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007024/0.4198, allocations: 267.4 kB / 0.5609 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.4198, allocations: 4 kB / 0.5609 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.4198, allocations: 7.938 kB / 0.5609 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4198, allocations: 3.984 kB / 0.5609 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.4215, allocations: 0.6255 MB / 0.5615 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4216, allocations: 0 / 0.5615 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.4219, allocations: 39.91 kB / 0.5615 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/0.422, allocations: 40.83 kB / 0.5616 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.4221, allocations: 0 / 0.5616 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.4221, allocations: 8.062 kB / 0.5616 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4221, allocations: 0 / 0.5616 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009436/0.423, allocations: 442.5 kB / 0.562 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-05/0.4231, allocations: 23.81 kB / 0.562 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.4232, allocations: 8 kB / 0.562 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.4234, allocations: 8.094 kB / 0.562 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.4235, allocations: 19.97 kB / 0.562 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4235, allocations: 4 kB / 0.5621 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003303/0.4238, allocations: 207.1 kB / 0.5622 GB, free: 15.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4238, allocations: 0 / 0.5622 GB, free: 15.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007255/0.4246, allocations: 91.94 kB / 0.5623 GB, free: 15.22 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.0001836/0.4247, allocations: 103.2 kB / 0.5624 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.4259, allocations: 409.8 kB / 0.5628 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4259, allocations: 0 / 0.5628 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.4262, allocations: 92.75 kB / 0.5629 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.4267, allocations: 72.62 kB / 0.563 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.4291, allocations: 0.8785 MB / 0.5638 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.4295, allocations: 232.9 kB / 0.5641 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002888/0.4298, allocations: 66.91 kB / 0.5641 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.4299, allocations: 27.38 kB / 0.5642 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4299, allocations: 0 / 0.5642 GB, free: 13.28 MB / 414.1 MB Notification: Performance of Templates: time 0.01272/0.4426, allocations: 4.134 MB / 0.5682 GB, free: 9.203 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins/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: 5.4421689454466105]