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.0006937/0.0006937, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003404/0.003404, allocations: 163.1 kB / 24.7 MB, free: 8.891 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.8459/0.8459, allocations: 177.1 MB / 205 MB, free: 5.77 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.216/0.216, allocations: 29.41 MB / 290.8 MB, free: 2.441 MB / 266.7 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.PQsource,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.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,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.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 431.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.792e-05, allocations: 5.234 kB / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004124/0.004152, allocations: 4.456 MB / 435.9 MB, free: 8.641 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.005664, allocations: 1.27 MB / 437.2 MB, free: 7.367 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.005838, allocations: 19.81 kB / 437.2 MB, free: 7.348 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.006553, allocations: 401.4 kB / 437.6 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.006983, allocations: 250.6 kB / 437.9 MB, free: 6.711 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.007347, allocations: 175.4 kB / 438 MB, free: 6.539 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004582/0.007805, allocations: 0.5645 MB / 438.6 MB, free: 5.973 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.008116, allocations: 245.4 kB / 438.8 MB, free: 5.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.008495, allocations: 346.9 kB / 439.2 MB, free: 5.391 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000565/0.00906, allocations: 267.3 kB / 439.4 MB, free: 5.129 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.009093, allocations: 28 kB / 439.5 MB, free: 5.102 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.00928, allocations: 131.7 kB / 439.6 MB, free: 4.973 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.009413, allocations: 207.4 kB / 439.8 MB, free: 4.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.009523, allocations: 147.7 kB / 439.9 MB, free: 4.625 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.009969, allocations: 0.514 MB / 440.4 MB, free: 4.109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.009971, allocations: 0 / 440.4 MB, free: 4.109 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009972, allocations: 3.938 kB / 440.5 MB, free: 4.105 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.009979, allocations: 0 / 440.5 MB, free: 4.105 MB / 410.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.0007381/0.01072, allocations: 0.635 MB / 441.1 MB, free: 3.441 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.01075, allocations: 11.98 kB / 441.1 MB, free: 3.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.01108, allocations: 92.58 kB / 441.2 MB, free: 3.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.0115, allocations: 348 kB / 441.5 MB, free: 2.965 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.01152, allocations: 21.38 kB / 441.5 MB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-05/0.0116, allocations: 44.73 kB / 441.6 MB, free: 2.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.01203, allocations: 484.9 kB / 442.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01204, allocations: 0 / 442.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.01207, allocations: 12 kB / 442.1 MB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/0.01212, allocations: 32.98 kB / 442.1 MB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.01246, allocations: 351.7 kB / 442.5 MB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.01367, allocations: 1.402 MB / 443.9 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.01386, allocations: 149 kB / 444 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.01396, allocations: 109.7 kB / 444.1 MB, free: 276 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.01398, allocations: 4 kB / 444.1 MB, free: 272 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.014, allocations: 34.5 kB / 444.1 MB, free: 228 kB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.014, allocations: 0 / 444.1 MB, free: 228 kB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.1549/0.1689, allocations: 0.74 MB / 444.9 MB, free: 54.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.1689, allocations: 83.02 kB / 445 MB, free: 54.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1691, allocations: 293.6 kB / 445.3 MB, free: 54.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.1691, allocations: 29.67 kB / 445.3 MB, free: 54.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.1692, allocations: 261.1 kB / 445.5 MB, free: 54.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.1692, allocations: 68.09 kB / 445.6 MB, free: 54.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.1692, allocations: 64.45 kB / 445.7 MB, free: 54.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.579e-05/0.1693, allocations: 340.2 kB / 446 MB, free: 53.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.1694, allocations: 99.53 kB / 446.1 MB, free: 53.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1695, allocations: 205 kB / 446.3 MB, free: 53.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.1697, allocations: 328.5 kB / 446.6 MB, free: 53.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1697, allocations: 3.281 kB / 446.6 MB, free: 53.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004627/0.1701, allocations: 460.8 kB / 447.1 MB, free: 53.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1701, allocations: 8.625 kB / 447.1 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002928/0.1704, allocations: 308.2 kB / 447.4 MB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.1707, allocations: 143 kB / 447.5 MB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1708, allocations: 56.89 kB / 447.6 MB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.1722, allocations: 2.294 MB / 449.9 MB, free: 51.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.221e-05/0.1723, allocations: 17.78 kB / 449.9 MB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.1723, allocations: 16.75 kB / 449.9 MB, free: 51.54 MB / 410.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.0001174/0.1724, allocations: 186.4 kB / 450.1 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.1725, allocations: 28.66 kB / 450.1 MB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.1727, allocations: 257 kB / 450.4 MB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1727, allocations: 10.59 kB / 450.4 MB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1727, allocations: 6.812 kB / 450.4 MB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1727, allocations: 3.328 kB / 450.4 MB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.1733, allocations: 0.6255 MB / 451 MB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1733, allocations: 4.875 kB / 451 MB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1734, allocations: 35.94 kB / 451.1 MB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.13e-05/0.1734, allocations: 42.09 kB / 451.1 MB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1734, allocations: 7.188 kB / 451.1 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1734, allocations: 6.219 kB / 451.1 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1734, allocations: 3.328 kB / 451.1 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.1737, allocations: 443.3 kB / 451.5 MB, free: 50.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.1737, allocations: 22.38 kB / 451.6 MB, free: 50.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.1738, allocations: 10.59 kB / 451.6 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.1738, allocations: 9.156 kB / 451.6 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.1739, allocations: 13.61 kB / 451.6 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1739, allocations: 13.09 kB / 451.6 MB, free: 50.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.357e-05/0.174, allocations: 204.5 kB / 451.8 MB, free: 50.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.174, allocations: 0 / 451.8 MB, free: 50.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000268/0.1742, allocations: 89.03 kB / 451.9 MB, free: 50.43 MB / 410.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.485e-05/0.1743, allocations: 103.4 kB / 452 MB, free: 50.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.1747, allocations: 395 kB / 452.4 MB, free: 50.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1747, allocations: 6.125 kB / 452.4 MB, free: 50.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1748, allocations: 101.9 kB / 452.5 MB, free: 50.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1751, allocations: 52.88 kB / 452.5 MB, free: 50.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007315/0.1758, allocations: 0.8396 MB / 453.4 MB, free: 49.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.1759, allocations: 236.6 kB / 453.6 MB, free: 49.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.176, allocations: 24.88 kB / 453.6 MB, free: 49.49 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.176, allocations: 0 / 453.6 MB, free: 49.49 MB / 410.7 MB Notification: Performance of Templates: time 0.004431/0.1804, allocations: 5.933 MB / 459.6 MB, free: 49.03 MB / 410.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.027546105906367]