Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.0009466/0.0009466, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001017/0.001017, allocations: 170.3 kB / 24.91 MB, free: 8.723 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.9922/0.9922, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2651/0.2651, allocations: 29.42 MB / 291.2 MB, free: 2.352 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.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.599e-05, allocations: 3.297 kB / 316.8 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004899/0.004925, allocations: 4.224 MB / 321.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.006712, allocations: 1.231 MB / 322.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.006896, allocations: 19.88 kB / 322.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007082/0.007604, allocations: 306.5 kB / 322.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004601/0.008064, allocations: 250.5 kB / 322.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.008462, allocations: 175.4 kB / 323 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.009017, allocations: 0.5648 MB / 323.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.009347, allocations: 252.1 kB / 323.8 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005097/0.009857, allocations: 395 kB / 324.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.01015, allocations: 219.4 kB / 324.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.01019, allocations: 32 kB / 324.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.0104, allocations: 127.7 kB / 324.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.01057, allocations: 207.5 kB / 324.8 MB, free: 8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.01071, allocations: 147.6 kB / 324.9 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.01112, allocations: 382.7 kB / 325.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.01112, allocations: 0 / 325.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01112, allocations: 0 / 325.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.01112, allocations: 0 / 325.3 MB, free: 7.48 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.0008287/0.01195, allocations: 0.6097 MB / 325.9 MB, free: 6.848 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.01198, allocations: 11.98 kB / 325.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004251/0.01241, allocations: 108.8 kB / 326.1 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.01278, allocations: 312.3 kB / 326.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.0128, allocations: 21.38 kB / 326.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.0129, allocations: 56.64 kB / 326.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.01325, allocations: 303.8 kB / 326.7 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.01327, allocations: 4 kB / 326.7 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.01329, allocations: 12 kB / 326.7 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.441e-05/0.01336, allocations: 24.98 kB / 326.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.01355, allocations: 129.6 kB / 326.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.01477, allocations: 1.147 MB / 328 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.01493, allocations: 123.9 kB / 328.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.01499, allocations: 41.77 kB / 328.2 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.01501, allocations: 4 kB / 328.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.01503, allocations: 42.5 kB / 328.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.01503, allocations: 0 / 328.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007409/0.01577, allocations: 402.9 kB / 328.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.01581, allocations: 77.11 kB / 328.7 MB, free: 3.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.01598, allocations: 266.9 kB / 329 MB, free: 3.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.016, allocations: 29.7 kB / 329 MB, free: 3.555 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.0161, allocations: 232.4 kB / 329.2 MB, free: 3.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.01615, allocations: 71.41 kB / 329.3 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.01622, allocations: 57.91 kB / 329.4 MB, free: 3.188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.01632, allocations: 338.8 kB / 329.7 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.01637, allocations: 35.09 kB / 329.7 MB, free: 2.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.739e-05/0.01647, allocations: 129.3 kB / 329.9 MB, free: 2.641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.01666, allocations: 210.8 kB / 330.1 MB, free: 2.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01666, allocations: 0 / 330.1 MB, free: 2.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004225/0.01708, allocations: 277 kB / 330.3 MB, free: 2.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.01709, allocations: 4 kB / 330.3 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002382/0.01733, allocations: 132.3 kB / 330.5 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/0.01768, allocations: 123.5 kB / 330.6 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.0178, allocations: 51.92 kB / 330.6 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.01921, allocations: 1.744 MB / 332.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.01933, allocations: 11.94 kB / 332.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.01935, allocations: 15.98 kB / 332.4 MB, free: 15.92 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 0.000235/0.01958, allocations: 128.6 kB / 332.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.01962, allocations: 19.98 kB / 332.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.01981, allocations: 143.5 kB / 332.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01981, allocations: 0 / 332.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01982, allocations: 7.938 kB / 332.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.01983, allocations: 3.984 kB / 332.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.02038, allocations: 456.6 kB / 333.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.02038, allocations: 3.938 kB / 333.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.02051, allocations: 43.97 kB / 333.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.404e-05/0.02057, allocations: 30.5 kB / 333.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.02058, allocations: 4 kB / 333.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.02059, allocations: 4 kB / 333.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.02059, allocations: 0 / 333.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.02084, allocations: 317.6 kB / 333.5 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.02087, allocations: 23.81 kB / 333.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.0209, allocations: 11.98 kB / 333.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.021, allocations: 4 kB / 333.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.02102, allocations: 20.02 kB / 333.6 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.02103, allocations: 4 kB / 333.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.277e-05/0.02112, allocations: 100.5 kB / 333.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02112, allocations: 0 / 333.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003711/0.02149, allocations: 88 kB / 333.8 MB, free: 14.44 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.889e-05/0.02157, allocations: 80.42 kB / 333.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.02192, allocations: 285.2 kB / 334.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.02193, allocations: 4 kB / 334.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.02201, allocations: 63.19 kB / 334.2 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.02233, allocations: 84.28 kB / 334.3 MB, free: 13.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.02355, allocations: 0.7325 MB / 335 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.34e-05/0.02364, allocations: 128.6 kB / 335.2 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.02373, allocations: 34.95 kB / 335.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.02386, allocations: 103.3 kB / 335.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02386, allocations: 0 / 335.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of Templates: time 0.006784/0.03064, allocations: 3.986 MB / 339.3 MB, free: 8.957 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.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.149838493205607]