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.0009455/0.0009455, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.0008884/0.0008884, allocations: 175.1 kB / 25.61 MB, free: 8.883 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 0.944/0.944, allocations: 177.2 MB / 206.1 MB, free: 4.453 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.1378/0.1378, allocations: 29.43 MB / 292 MB, free: 2.613 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.183e-06/1.183e-06, allocations: 0 / 370.9 MB, free: 32.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.29e-05, allocations: 4.984 kB / 370.9 MB, free: 32.27 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.003215/0.003228, allocations: 4.228 MB / 375.1 MB, free: 28.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.004416, allocations: 1.211 MB / 376.3 MB, free: 26.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.004554, allocations: 23.81 kB / 376.4 MB, free: 26.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005521/0.005106, allocations: 298.5 kB / 376.7 MB, free: 26.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.005419, allocations: 246.5 kB / 376.9 MB, free: 26.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.005691, allocations: 175.5 kB / 377.1 MB, free: 26.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.00601, allocations: 0.5648 MB / 377.6 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.006253, allocations: 237.5 kB / 377.9 MB, free: 25.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.006592, allocations: 406.8 kB / 378.3 MB, free: 24.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.006801, allocations: 227.3 kB / 378.5 MB, free: 24.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.006829, allocations: 35.94 kB / 378.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.006988, allocations: 119.8 kB / 378.6 MB, free: 24.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.007087, allocations: 199.5 kB / 378.8 MB, free: 24.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.583e-05/0.007183, allocations: 151.6 kB / 379 MB, free: 24.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.007446, allocations: 382.6 kB / 379.4 MB, free: 23.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.007448, allocations: 4 kB / 379.4 MB, free: 23.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.007449, allocations: 0 / 379.4 MB, free: 23.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.007453, allocations: 0 / 379.4 MB, free: 23.78 MB / 314.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.000527/0.00798, allocations: 0.7305 MB / 380.1 MB, free: 23.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.008008, allocations: 8.031 kB / 380.1 MB, free: 23.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.008356, allocations: 124.6 kB / 380.2 MB, free: 22.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.008622, allocations: 321.8 kB / 380.5 MB, free: 22.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.008637, allocations: 29.38 kB / 380.6 MB, free: 22.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.088e-05/0.008708, allocations: 44.73 kB / 380.6 MB, free: 22.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.008947, allocations: 317.9 kB / 380.9 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.008961, allocations: 0 / 380.9 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.008979, allocations: 12 kB / 380.9 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/0.009031, allocations: 28.98 kB / 381 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.009164, allocations: 114.8 kB / 381.1 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008287/0.009993, allocations: 1.469 MB / 382.5 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.01012, allocations: 106.1 kB / 382.6 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.01017, allocations: 47.69 kB / 382.7 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.01018, allocations: 8 kB / 382.7 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.0102, allocations: 45.33 kB / 382.7 MB, free: 20.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.0102, allocations: 0 / 382.7 MB, free: 20.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005554/0.01075, allocations: 424.4 kB / 383.1 MB, free: 19.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/0.01077, allocations: 81.11 kB / 383.2 MB, free: 19.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.01089, allocations: 334 kB / 383.6 MB, free: 19.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.0109, allocations: 33.83 kB / 383.6 MB, free: 19.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.01098, allocations: 310.6 kB / 383.9 MB, free: 18.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.01101, allocations: 63.45 kB / 384 MB, free: 18.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.01106, allocations: 67.58 kB / 384 MB, free: 18.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.378e-05/0.01112, allocations: 0.5195 MB / 384.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.499e-05/0.01116, allocations: 33.69 kB / 384.6 MB, free: 18.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.01122, allocations: 179.7 kB / 384.7 MB, free: 18.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.01135, allocations: 233.9 kB / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01136, allocations: 0 / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003449/0.0117, allocations: 316.4 kB / 385.3 MB, free: 17.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.01171, allocations: 4 kB / 385.3 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/0.01191, allocations: 159.5 kB / 385.4 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/0.01222, allocations: 123.5 kB / 385.6 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.01231, allocations: 47.92 kB / 385.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.01333, allocations: 2.285 MB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.01341, allocations: 12 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.01342, allocations: 8 kB / 387.9 MB, free: 14.66 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 7.524e-05/0.0135, allocations: 176.4 kB / 388.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.01353, allocations: 35.81 kB / 388.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.01369, allocations: 158.9 kB / 388.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01369, allocations: 8 kB / 388.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.01369, allocations: 3.984 kB / 388.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.0137, allocations: 0 / 388.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.01411, allocations: 0.5046 MB / 388.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01412, allocations: 4 kB / 388.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.676e-05/0.01421, allocations: 35.98 kB / 388.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.606e-05/0.01426, allocations: 23.73 kB / 388.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01427, allocations: 7.984 kB / 388.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004106/0.01468, allocations: 1.838 MB / 390.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01468, allocations: 7.938 kB / 390.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.01487, allocations: 363 kB / 391.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.01489, allocations: 27.81 kB / 391.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.01491, allocations: 11.92 kB / 391.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.01499, allocations: 8.047 kB / 391.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.01501, allocations: 15.91 kB / 391.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.01502, allocations: 4 kB / 391.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.768e-05/0.01509, allocations: 218.9 kB / 391.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01509, allocations: 0 / 391.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002578/0.01535, allocations: 88 kB / 391.4 MB, free: 10.93 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 6.915e-05/0.01542, allocations: 101 kB / 391.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.0157, allocations: 344.7 kB / 391.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.0157, allocations: 0 / 391.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.01581, allocations: 259.7 kB / 392.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.01608, allocations: 64.48 kB / 392.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.017, allocations: 0.7781 MB / 393 MB, free: 9.301 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.558e-05/0.01706, allocations: 132.5 kB / 393.1 MB, free: 9.152 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.048e-05/0.01713, allocations: 34.95 kB / 393.1 MB, free: 9.117 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.01722, allocations: 122.2 kB / 393.2 MB, free: 8.996 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01722, allocations: 0 / 393.2 MB, free: 8.996 MB / 314.7 MB Notification: Performance of Templates: time 0.005194/0.02242, allocations: 4.284 MB / 397.5 MB, free: 4.789 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 -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: 3.0492043113335967]