Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001744/0.001744, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002402/0.002402, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.542/1.542, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.1839/0.1839, 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.PVsource,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.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,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.PVsource") [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.00216/0.00216, allocations: 67.91 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3072, allocations: 62.46 MB / 0.5432 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006257/0.3135, allocations: 4.494 MB / 0.5475 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.3158, allocations: 1.273 MB / 0.5488 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.3159, allocations: 20.84 kB / 0.5488 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.3171, allocations: 383.9 kB / 0.5492 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.3176, allocations: 255.3 kB / 0.5494 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.3181, allocations: 172.9 kB / 0.5496 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006068/0.3187, allocations: 0.5651 MB / 0.5501 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.3191, allocations: 225.8 kB / 0.5504 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004157/0.3195, allocations: 280.1 kB / 0.5506 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.32, allocations: 278.4 kB / 0.5509 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.32, allocations: 30.75 kB / 0.5509 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.3203, allocations: 123.8 kB / 0.551 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.3205, allocations: 196.1 kB / 0.5512 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.3207, allocations: 171.2 kB / 0.5514 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.3213, allocations: 0.5251 MB / 0.5519 GB, free: 9.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3213, allocations: 0 / 0.5519 GB, free: 9.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3213, allocations: 4 kB / 0.5519 GB, free: 9.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3213, allocations: 0 / 0.5519 GB, free: 9.988 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.001198/0.3225, allocations: 0.6291 MB / 0.5525 GB, free: 9.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3226, allocations: 13.92 kB / 0.5525 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006187/0.3232, allocations: 91.88 kB / 0.5526 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007412/0.3239, allocations: 343.4 kB / 0.5529 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.324, allocations: 26.75 kB / 0.553 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.3241, allocations: 56.72 kB / 0.553 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/0.3248, allocations: 469.4 kB / 0.5535 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.3248, allocations: 1.094 kB / 0.5535 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.3249, allocations: 15.41 kB / 0.5535 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.325, allocations: 29.2 kB / 0.5535 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.3255, allocations: 340.7 kB / 0.5538 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.3278, allocations: 1.397 MB / 0.5552 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.3281, allocations: 140.6 kB / 0.5553 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.3282, allocations: 102.9 kB / 0.5554 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3282, allocations: 2.156 kB / 0.5554 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3283, allocations: 40.56 kB / 0.5555 GB, free: 7.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.3283, allocations: 0 / 0.5555 GB, free: 7.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001479/0.3298, allocations: 0.7178 MB / 0.5562 GB, free: 6.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.3298, allocations: 85.09 kB / 0.5563 GB, free: 6.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.3301, allocations: 292.4 kB / 0.5565 GB, free: 6.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.3302, allocations: 29.7 kB / 0.5566 GB, free: 6.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.3304, allocations: 256 kB / 0.5568 GB, free: 6.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.3304, allocations: 63.48 kB / 0.5569 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.3305, allocations: 57.94 kB / 0.5569 GB, free: 5.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3307, allocations: 342.9 kB / 0.5573 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.3308, allocations: 96.23 kB / 0.5573 GB, free: 5.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3311, allocations: 201.2 kB / 0.5575 GB, free: 5.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.3315, allocations: 314.2 kB / 0.5578 GB, free: 4.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3315, allocations: 0 / 0.5578 GB, free: 4.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008841/0.3324, allocations: 456.1 kB / 0.5583 GB, free: 4.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3324, allocations: 8 kB / 0.5583 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006061/0.333, allocations: 284.8 kB / 0.5585 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004898/0.3335, allocations: 124.9 kB / 0.5587 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.3337, allocations: 55.91 kB / 0.5587 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/0.3366, allocations: 2.237 MB / 0.5609 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.3368, allocations: 16.05 kB / 0.5609 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.3369, allocations: 20 kB / 0.5609 GB, free: 1.555 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.0002309/0.3371, allocations: 189.6 kB / 0.5611 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.809e-05/0.3371, allocations: 27.81 kB / 0.5611 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.3376, allocations: 256.5 kB / 0.5614 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3376, allocations: 4 kB / 0.5614 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3376, allocations: 0 / 0.5614 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3376, allocations: 0 / 0.5614 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.3387, allocations: 0.5982 MB / 0.562 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3388, allocations: 0 / 0.562 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.339, allocations: 47.98 kB / 0.562 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.3391, allocations: 36.77 kB / 0.5621 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3391, allocations: 0 / 0.5621 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.3404, allocations: 1.462 MB / 0.5635 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3404, allocations: 4.156 kB / 0.5635 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.341, allocations: 418.6 kB / 0.5639 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.341, allocations: 31.78 kB / 0.5639 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.3411, allocations: 8 kB / 0.5639 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3412, allocations: 7.984 kB / 0.5639 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.3413, allocations: 15.92 kB / 0.564 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3413, allocations: 4 kB / 0.564 GB, free: 14.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.3415, allocations: 203.1 kB / 0.5642 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3415, allocations: 0 / 0.5642 GB, free: 14.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.342, allocations: 88 kB / 0.5642 GB, free: 13.98 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001215/0.3421, allocations: 103.2 kB / 0.5643 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007126/0.3428, allocations: 393.7 kB / 0.5647 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3428, allocations: 8 kB / 0.5647 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.3432, allocations: 223.3 kB / 0.5649 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.3436, allocations: 64.61 kB / 0.565 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.3451, allocations: 0.9262 MB / 0.5659 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3454, allocations: 233.1 kB / 0.5661 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.3455, allocations: 23.44 kB / 0.5661 GB, free: 11.93 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3455, allocations: 0 / 0.5661 GB, free: 11.93 MB / 414.1 MB Notification: Performance of Templates: time 0.00868/0.3541, allocations: 5.885 MB / 0.5719 GB, free: 6.051 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,sensor.p[1],sensor.p[2],sensor.p[3] Variables in the result:sensor.p[1],sensor.p[2],sensor.p[3],time [Calling sys.exit(0), Time elapsed: 8.55989675084129]