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.001003/0.001003, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001131/0.001131, allocations: 170.8 kB / 24.91 MB, free: 9.145 MB / 18.57 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.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2344/0.2344, allocations: 29.42 MB / 291.2 MB, free: 2.469 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.815e-05, allocations: 3.625 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004711/0.004739, allocations: 4.289 MB / 321.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.006456, allocations: 1.227 MB / 322.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.006644, allocations: 27.81 kB / 322.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.007159, allocations: 294.5 kB / 322.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.007548, allocations: 254.5 kB / 323 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.007846, allocations: 163.6 kB / 323.1 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006587/0.008505, allocations: 0.5721 MB / 323.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.008786, allocations: 268 kB / 324 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004355/0.009221, allocations: 395 kB / 324.4 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.009458, allocations: 215.4 kB / 324.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.009488, allocations: 28 kB / 324.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.009677, allocations: 139.7 kB / 324.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.009806, allocations: 199.5 kB / 324.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.00991, allocations: 151.6 kB / 325.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.01024, allocations: 382.7 kB / 325.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.01025, allocations: 0 / 325.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01025, allocations: 0 / 325.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.01025, allocations: 0 / 325.4 MB, free: 7.367 MB / 298.7 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.0005197/0.01077, allocations: 0.5903 MB / 326 MB, free: 6.754 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.0108, allocations: 11.98 kB / 326 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/0.01113, allocations: 112.8 kB / 326.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.01144, allocations: 316.2 kB / 326.5 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.01145, allocations: 29.38 kB / 326.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/0.01152, allocations: 44.73 kB / 326.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.0118, allocations: 299.8 kB / 326.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.01181, allocations: 3.984 kB / 326.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.01183, allocations: 19.98 kB / 326.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/0.01188, allocations: 24.98 kB / 326.9 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.01202, allocations: 106.9 kB / 327 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.01306, allocations: 1.129 MB / 328.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.0132, allocations: 87.89 kB / 328.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.01325, allocations: 45.75 kB / 328.2 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.01327, allocations: 8 kB / 328.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.01328, allocations: 30.56 kB / 328.3 MB, free: 4.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.01329, allocations: 0 / 328.3 MB, free: 4.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006034/0.01389, allocations: 399.1 kB / 328.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.01393, allocations: 81.11 kB / 328.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.01408, allocations: 267 kB / 329 MB, free: 3.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.0141, allocations: 33.64 kB / 329 MB, free: 3.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.0142, allocations: 236.4 kB / 329.3 MB, free: 3.297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.01423, allocations: 67.45 kB / 329.3 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.0143, allocations: 61.91 kB / 329.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.01439, allocations: 338.8 kB / 329.7 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/0.01443, allocations: 28.27 kB / 329.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.504e-05/0.01451, allocations: 132 kB / 329.9 MB, free: 2.621 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.01466, allocations: 194.4 kB / 330.1 MB, free: 2.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01466, allocations: 0 / 330.1 MB, free: 2.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003349/0.015, allocations: 264.6 kB / 330.3 MB, free: 2.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.01501, allocations: 8.438 kB / 330.3 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/0.01519, allocations: 130.9 kB / 330.5 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.01547, allocations: 115.6 kB / 330.6 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.01559, allocations: 59.84 kB / 330.6 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.01686, allocations: 1.738 MB / 332.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.01694, allocations: 8 kB / 332.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.01696, allocations: 12 kB / 332.4 MB, free: 15.95 MB / 314.7 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 9.051e-05/0.01705, allocations: 136.5 kB / 332.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.01708, allocations: 19.97 kB / 332.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.01724, allocations: 143.5 kB / 332.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01724, allocations: 7.938 kB / 332.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01724, allocations: 0 / 332.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01725, allocations: 3.938 kB / 332.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.01768, allocations: 405.6 kB / 333.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01769, allocations: 4 kB / 333.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.01783, allocations: 59.09 kB / 333.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.106e-05/0.01789, allocations: 38.36 kB / 333.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.0179, allocations: 8 kB / 333.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005915/0.01849, allocations: 1.267 MB / 334.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01849, allocations: 0 / 334.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.01869, allocations: 278.2 kB / 334.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.01872, allocations: 23.84 kB / 334.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.01874, allocations: 12 kB / 334.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/0.0188, allocations: 4 kB / 334.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.01883, allocations: 15.92 kB / 334.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.01883, allocations: 4 kB / 334.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.359e-05/0.0189, allocations: 100.7 kB / 334.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0189, allocations: 0 / 334.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000237/0.01913, allocations: 88 kB / 335 MB, free: 13.18 MB / 314.7 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 9.016e-05/0.01922, allocations: 80.42 kB / 335.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.01952, allocations: 278.2 kB / 335.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.01953, allocations: 4 kB / 335.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.01966, allocations: 192.1 kB / 335.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.02004, allocations: 75.3 kB / 335.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.02144, allocations: 0.7429 MB / 336.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.868e-05/0.02154, allocations: 128.6 kB / 336.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.02165, allocations: 38.94 kB / 336.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.02179, allocations: 103.3 kB / 336.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of SimCode: time 1.864e-06/0.02179, allocations: 0 / 336.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of Templates: time 0.00683/0.02862, allocations: 4.335 MB / 340.9 MB, free: 7.203 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9365102942101657]