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.002208/0.002208, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.003025/0.003025, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1881/0.1881, allocations: 38.56 MB / 352.5 MB, free: 12.39 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.003184/0.003184, allocations: 71.89 kB / 493 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3647, allocations: 62.46 MB / 0.5424 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.007233/0.3719, allocations: 4.495 MB / 0.5468 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.3743, allocations: 1.265 MB / 0.5481 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.3745, allocations: 21.97 kB / 0.5481 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.3757, allocations: 389.8 kB / 0.5484 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005976/0.3763, allocations: 252.2 kB / 0.5487 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.3769, allocations: 177.1 kB / 0.5489 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.3775, allocations: 0.5615 MB / 0.5494 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.378, allocations: 229.1 kB / 0.5496 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.3784, allocations: 276.8 kB / 0.5499 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.3789, allocations: 285.8 kB / 0.5502 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.774e-05/0.379, allocations: 30.72 kB / 0.5502 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.3793, allocations: 127.8 kB / 0.5503 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.3795, allocations: 192.7 kB / 0.5505 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.3797, allocations: 174.7 kB / 0.5507 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007025/0.3804, allocations: 0.5205 MB / 0.5512 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3804, allocations: 0 / 0.5512 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3804, allocations: 1.156 kB / 0.5512 GB, free: 9.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3805, allocations: 0 / 0.5512 GB, free: 9.941 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.001313/0.3818, allocations: 0.6334 MB / 0.5518 GB, free: 9.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3818, allocations: 13.08 kB / 0.5518 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006094/0.3824, allocations: 88.02 kB / 0.5519 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/0.3832, allocations: 351.3 kB / 0.5522 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.3833, allocations: 23.56 kB / 0.5522 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.3834, allocations: 47.02 kB / 0.5523 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/0.3842, allocations: 474.5 kB / 0.5527 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.3843, allocations: 4.938 kB / 0.5527 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.3843, allocations: 15.28 kB / 0.5528 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.3844, allocations: 29.17 kB / 0.5528 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/0.385, allocations: 336.5 kB / 0.5531 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.3875, allocations: 1.39 MB / 0.5545 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.3878, allocations: 147.8 kB / 0.5546 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.388, allocations: 97.62 kB / 0.5547 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.388, allocations: 2.344 kB / 0.5547 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3881, allocations: 40.44 kB / 0.5547 GB, free: 7.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.963e-06/0.3881, allocations: 0 / 0.5547 GB, free: 7.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001585/0.3896, allocations: 0.7188 MB / 0.5554 GB, free: 6.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.3897, allocations: 77.11 kB / 0.5555 GB, free: 6.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.3901, allocations: 296.4 kB / 0.5558 GB, free: 6.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.3901, allocations: 25.7 kB / 0.5558 GB, free: 6.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.3903, allocations: 263.9 kB / 0.5561 GB, free: 5.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.3904, allocations: 63.48 kB / 0.5561 GB, free: 5.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.3905, allocations: 57.94 kB / 0.5562 GB, free: 5.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.3907, allocations: 342.8 kB / 0.5565 GB, free: 5.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.3908, allocations: 92.23 kB / 0.5566 GB, free: 5.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.3911, allocations: 197.2 kB / 0.5568 GB, free: 5.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.3915, allocations: 318.5 kB / 0.5571 GB, free: 4.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3915, allocations: 4 kB / 0.5571 GB, free: 4.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009107/0.3924, allocations: 448 kB / 0.5575 GB, free: 4.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3925, allocations: 8 kB / 0.5575 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006003/0.3931, allocations: 284.8 kB / 0.5578 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000499/0.3936, allocations: 124.7 kB / 0.5579 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.3938, allocations: 64.03 kB / 0.558 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.3969, allocations: 2.239 MB / 0.5602 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.3971, allocations: 11.98 kB / 0.5602 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.3971, allocations: 16 kB / 0.5602 GB, free: 1.484 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.0002807/0.3974, allocations: 192.4 kB / 0.5604 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.3975, allocations: 27.81 kB / 0.5604 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005565/0.398, allocations: 255.5 kB / 0.5607 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.398, allocations: 4 kB / 0.5607 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.398, allocations: 4 kB / 0.5607 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.398, allocations: 0 / 0.5607 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.3992, allocations: 0.5982 MB / 0.5612 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3992, allocations: 7.984 kB / 0.5613 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.3994, allocations: 43.91 kB / 0.5613 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.3995, allocations: 36.84 kB / 0.5613 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3995, allocations: 0 / 0.5613 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.4009, allocations: 1.462 MB / 0.5628 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4009, allocations: 4.031 kB / 0.5628 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.4014, allocations: 429.3 kB / 0.5632 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.4015, allocations: 23.81 kB / 0.5632 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.4015, allocations: 8 kB / 0.5632 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.4017, allocations: 8.031 kB / 0.5632 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.4017, allocations: 15.92 kB / 0.5632 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.4017, allocations: 8 kB / 0.5632 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.402, allocations: 199.1 kB / 0.5634 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.402, allocations: 0 / 0.5634 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005163/0.4025, allocations: 88 kB / 0.5635 GB, free: 13.91 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.0001428/0.4026, allocations: 111.2 kB / 0.5636 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00074/0.4034, allocations: 386.2 kB / 0.564 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4034, allocations: 0.875 kB / 0.564 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.4037, allocations: 223.5 kB / 0.5642 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.4042, allocations: 67.77 kB / 0.5643 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.4059, allocations: 0.8895 MB / 0.5651 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.4061, allocations: 229.1 kB / 0.5653 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.4063, allocations: 66.91 kB / 0.5654 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/0.4064, allocations: 23.44 kB / 0.5654 GB, free: 11.84 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4064, allocations: 0 / 0.5654 GB, free: 11.84 MB / 414.1 MB Notification: Performance of Templates: time 0.009705/0.4161, allocations: 4.327 MB / 0.5697 GB, free: 7.578 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.356290079653263]