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.0009467/0.0009467, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009837/0.0009837, allocations: 170.3 kB / 24.91 MB, free: 8.766 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2765/0.2765, allocations: 29.42 MB / 291.2 MB, free: 2.484 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.864e-06/1.864e-06, allocations: 0 / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.263e-05, allocations: 3.625 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.00461/0.004633, allocations: 4.258 MB / 321.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.006106, allocations: 1.231 MB / 322.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.006253, allocations: 19.81 kB / 322.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006095/0.006862, allocations: 306.5 kB / 322.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.007165, allocations: 242.5 kB / 322.9 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.007443, allocations: 179.4 kB / 323.1 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.007831, allocations: 0.5683 MB / 323.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.008096, allocations: 256 kB / 323.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.008477, allocations: 402.9 kB / 324.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.008707, allocations: 219.4 kB / 324.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.00874, allocations: 28 kB / 324.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.008903, allocations: 131.7 kB / 324.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.009034, allocations: 199.5 kB / 324.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.009148, allocations: 143.7 kB / 325 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006229/0.009771, allocations: 386.6 kB / 325.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.009773, allocations: 3.984 kB / 325.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.009774, allocations: 0 / 325.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.009778, allocations: 0 / 325.4 MB, free: 7.457 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.0006113/0.01039, allocations: 0.5943 MB / 326 MB, free: 6.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.01042, allocations: 11.98 kB / 326 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003469/0.01077, allocations: 112.8 kB / 326.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.01107, allocations: 308.3 kB / 326.4 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.01109, allocations: 33.34 kB / 326.4 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.01116, allocations: 40.75 kB / 326.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.01146, allocations: 307.7 kB / 326.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.01147, allocations: 0 / 326.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.01149, allocations: 12 kB / 326.8 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-05/0.01154, allocations: 24.98 kB / 326.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.01168, allocations: 110.8 kB / 326.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009744/0.01265, allocations: 1.129 MB / 328 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.01278, allocations: 95.88 kB / 328.1 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.01283, allocations: 41.77 kB / 328.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.01284, allocations: 4 kB / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.01287, allocations: 42.48 kB / 328.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.01287, allocations: 0 / 328.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009476/0.01381, allocations: 391.6 kB / 328.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.01387, allocations: 89.03 kB / 328.7 MB, free: 3.926 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.01412, allocations: 266.8 kB / 328.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.01414, allocations: 29.7 kB / 329 MB, free: 3.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.01423, allocations: 232.4 kB / 329.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.01427, allocations: 67.47 kB / 329.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.01433, allocations: 61.91 kB / 329.3 MB, free: 3.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.01442, allocations: 342.7 kB / 329.6 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.01445, allocations: 24.28 kB / 329.7 MB, free: 2.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.01454, allocations: 129.3 kB / 329.8 MB, free: 2.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.01469, allocations: 202.4 kB / 330 MB, free: 2.469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01469, allocations: 0 / 330 MB, free: 2.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003327/0.01502, allocations: 268.9 kB / 330.3 MB, free: 2.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.01504, allocations: 8 kB / 330.3 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/0.01522, allocations: 115.8 kB / 330.4 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.01551, allocations: 115.7 kB / 330.5 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.01561, allocations: 55.84 kB / 330.5 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.01686, allocations: 1.731 MB / 332.3 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.01695, allocations: 8 kB / 332.3 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.01697, allocations: 12 kB / 332.3 MB, free: 52 kB / 298.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.981e-05/0.01707, allocations: 140.5 kB / 332.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.0171, allocations: 23.97 kB / 332.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.01726, allocations: 143.5 kB / 332.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01726, allocations: 4 kB / 332.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.01727, allocations: 0 / 332.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01727, allocations: 0 / 332.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.0177, allocations: 412.8 kB / 333 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.0177, allocations: 64 / 333 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.8e-05/0.0178, allocations: 39.92 kB / 333 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.496e-05/0.01786, allocations: 30.5 kB / 333.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01787, allocations: 3.938 kB / 333.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000587/0.01845, allocations: 1.278 MB / 334.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.01846, allocations: 8 kB / 334.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.01867, allocations: 281.8 kB / 334.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.01869, allocations: 19.86 kB / 334.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.01871, allocations: 7.938 kB / 334.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.01878, allocations: 4 kB / 334.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.0188, allocations: 15.97 kB / 334.7 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.01881, allocations: 4 kB / 334.7 MB, free: 13.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.612e-05/0.01887, allocations: 96.69 kB / 334.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01887, allocations: 0 / 334.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.01913, allocations: 95.94 kB / 334.9 MB, free: 13.28 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 7.948e-05/0.01921, allocations: 84.34 kB / 335 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.01951, allocations: 277.5 kB / 335.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.01951, allocations: 4 kB / 335.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.01965, allocations: 190.3 kB / 335.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.0199, allocations: 74.12 kB / 335.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.02103, allocations: 0.7364 MB / 336.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.838e-05/0.02113, allocations: 132.6 kB / 336.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.184e-05/0.02121, allocations: 34.95 kB / 336.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.02132, allocations: 107.3 kB / 336.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02132, allocations: 0 / 336.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of Templates: time 0.005942/0.02726, allocations: 4.202 MB / 340.7 MB, free: 7.434 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.0646855728700757]