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.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.001955/0.001955, 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.002049/0.002049, allocations: 181.5 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.46/1.46, allocations: 225.6 MB / 252.5 MB, free: 13 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.184/0.184, allocations: 38.55 MB / 346.3 MB, free: 2.133 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.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: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.89 kB / 484.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3717, allocations: 61.29 MB / 0.533 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005527/0.3772, allocations: 4.73 MB / 0.5377 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.379, allocations: 1.331 MB / 0.539 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.3792, allocations: 20.06 kB / 0.539 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.3802, allocations: 418.6 kB / 0.5394 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.3807, allocations: 252.1 kB / 0.5396 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.3811, allocations: 175.5 kB / 0.5398 GB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.3816, allocations: 0.5618 MB / 0.5403 GB, free: 140 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.382, allocations: 200.2 kB / 0.5405 GB, free: 20 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003719/0.3823, allocations: 262.8 kB / 0.5408 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.3828, allocations: 293.5 kB / 0.5411 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.3829, allocations: 30.47 kB / 0.5411 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.3831, allocations: 145.8 kB / 0.5412 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.3833, allocations: 187 kB / 0.5414 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.3836, allocations: 223.7 kB / 0.5416 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.3842, allocations: 0.5113 MB / 0.5421 GB, free: 15.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3842, allocations: 1.094 kB / 0.5421 GB, free: 15.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3842, allocations: 0 / 0.5421 GB, free: 15.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3842, allocations: 0 / 0.5421 GB, free: 15.04 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.001177/0.3854, allocations: 0.6364 MB / 0.5427 GB, free: 14.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3855, allocations: 9.656 kB / 0.5428 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006807/0.3861, allocations: 84.28 kB / 0.5428 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.3868, allocations: 355.7 kB / 0.5432 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.3869, allocations: 22.56 kB / 0.5432 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.387, allocations: 51.34 kB / 0.5432 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.3877, allocations: 479.9 kB / 0.5437 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.3878, allocations: 1.25 kB / 0.5437 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.3878, allocations: 20.19 kB / 0.5437 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.3879, allocations: 24.8 kB / 0.5437 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.3885, allocations: 341.3 kB / 0.5441 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.3908, allocations: 1.634 MB / 0.5457 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.3911, allocations: 144.3 kB / 0.5458 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.3912, allocations: 100.2 kB / 0.5459 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.3913, allocations: 8.906 kB / 0.5459 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.3913, allocations: 40.78 kB / 0.5459 GB, free: 12.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.3913, allocations: 0 / 0.5459 GB, free: 12.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001608/0.3929, allocations: 0.7036 MB / 0.5466 GB, free: 11.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.393, allocations: 87.31 kB / 0.5467 GB, free: 11.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.3934, allocations: 308.4 kB / 0.547 GB, free: 11.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3934, allocations: 30.77 kB / 0.547 GB, free: 11.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.3936, allocations: 249.6 kB / 0.5473 GB, free: 11.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.44e-05/0.3937, allocations: 71.36 kB / 0.5473 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3938, allocations: 56.69 kB / 0.5474 GB, free: 10.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.394, allocations: 347.9 kB / 0.5477 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3941, allocations: 94.55 kB / 0.5478 GB, free: 10.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.3944, allocations: 199.4 kB / 0.548 GB, free: 10.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.3948, allocations: 317.9 kB / 0.5483 GB, free: 10.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3948, allocations: 1.375 kB / 0.5483 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009181/0.3957, allocations: 453.2 kB / 0.5487 GB, free: 9.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3957, allocations: 8.188 kB / 0.5488 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006005/0.3963, allocations: 295.7 kB / 0.549 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004546/0.3968, allocations: 121.6 kB / 0.5492 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.397, allocations: 57.62 kB / 0.5492 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.3999, allocations: 2.287 MB / 0.5514 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.4002, allocations: 18.78 kB / 0.5515 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.4002, allocations: 18.09 kB / 0.5515 GB, free: 7.676 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.0002372/0.4004, allocations: 187.9 kB / 0.5517 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.4005, allocations: 28.66 kB / 0.5517 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.4009, allocations: 244.9 kB / 0.5519 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4009, allocations: 2.5 kB / 0.5519 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4009, allocations: 3.938 kB / 0.5519 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4009, allocations: 1.281 kB / 0.5519 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.4021, allocations: 0.6935 MB / 0.5526 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4021, allocations: 1 kB / 0.5526 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.4023, allocations: 34.92 kB / 0.5526 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.4024, allocations: 34.7 kB / 0.5527 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.4024, allocations: 2.719 kB / 0.5527 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.4037, allocations: 1.494 MB / 0.5541 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4037, allocations: 1.281 kB / 0.5541 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.4043, allocations: 423.1 kB / 0.5545 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.4043, allocations: 29 kB / 0.5546 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.4044, allocations: 11.34 kB / 0.5546 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.4045, allocations: 11.42 kB / 0.5546 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.4046, allocations: 12.86 kB / 0.5546 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.4046, allocations: 4.812 kB / 0.5546 GB, free: 4.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.4048, allocations: 221.5 kB / 0.5548 GB, free: 4.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4048, allocations: 0 / 0.5548 GB, free: 4.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000479/0.4053, allocations: 87.12 kB / 0.5549 GB, free: 4.809 MB / 398.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.0001209/0.4054, allocations: 106.2 kB / 0.555 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007008/0.4061, allocations: 382.5 kB / 0.5554 GB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4061, allocations: 5.188 kB / 0.5554 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.4064, allocations: 229.9 kB / 0.5556 GB, free: 4.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.4069, allocations: 70.34 kB / 0.5557 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.4084, allocations: 0.8701 MB / 0.5565 GB, free: 3.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.4089, allocations: 0.8458 MB / 0.5573 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.4091, allocations: 58.94 kB / 0.5574 GB, free: 2.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.4092, allocations: 23.44 kB / 0.5574 GB, free: 2.359 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4092, allocations: 0 / 0.5574 GB, free: 2.359 MB / 398.1 MB Notification: Performance of Templates: time 0.009919/0.4191, allocations: 4.284 MB / 0.5616 GB, free: 14.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 5.252180519513786]