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.001895/0.001895, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002054/0.002054, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 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.541/1.541, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3057/0.3057, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.943e-06/1.943e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.911e-05, allocations: 5.828 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.007002/0.007031, allocations: 4.647 MB / 373.5 MB, free: 6.633 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.009483, allocations: 1.301 MB / 374.8 MB, free: 5.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.009677, allocations: 15.88 kB / 374.9 MB, free: 5.312 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.01091, allocations: 406.2 kB / 375.2 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005925/0.0115, allocations: 258.5 kB / 375.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.01203, allocations: 179.4 kB / 375.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006919/0.01273, allocations: 0.5723 MB / 376.2 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.01316, allocations: 229.4 kB / 376.5 MB, free: 3.688 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005584/0.01372, allocations: 346.9 kB / 376.8 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.01423, allocations: 275.2 kB / 377.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.01429, allocations: 32 kB / 377.1 MB, free: 3.047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.0146, allocations: 135.7 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.01484, allocations: 207.5 kB / 377.4 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.01507, allocations: 151.7 kB / 377.6 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007475/0.01581, allocations: 0.514 MB / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.01582, allocations: 0 / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01582, allocations: 0 / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.01583, allocations: 0 / 378.1 MB, free: 2.047 MB / 346.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.001319/0.01715, allocations: 0.7658 MB / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.01719, allocations: 15.92 kB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000681/0.01787, allocations: 124.6 kB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009886/0.01885, allocations: 362.8 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.01889, allocations: 25.38 kB / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.01903, allocations: 48.69 kB / 379.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006538/0.01968, allocations: 374 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.0197, allocations: 0 / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.01974, allocations: 16 kB / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.01986, allocations: 24.98 kB / 379.8 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.02026, allocations: 183.8 kB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/0.02277, allocations: 1.649 MB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.02305, allocations: 114.1 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.02318, allocations: 71.41 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.0232, allocations: 7.938 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.02324, allocations: 37.39 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.02324, allocations: 4 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0014/0.02464, allocations: 0.581 MB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.02471, allocations: 77.11 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.02513, allocations: 390.2 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.02516, allocations: 29.83 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.02542, allocations: 318.7 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.521e-05/0.0255, allocations: 67.44 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.02562, allocations: 71.64 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003201/0.02594, allocations: 0.5313 MB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.02605, allocations: 48.25 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.0263, allocations: 195.8 kB / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/0.0267, allocations: 282.2 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.02671, allocations: 7.922 kB / 384.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008203/0.02753, allocations: 360.5 kB / 384.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.02755, allocations: 11.94 kB / 384.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005347/0.02809, allocations: 188.1 kB / 385 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/0.0287, allocations: 123.5 kB / 385.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.02891, allocations: 55.91 kB / 385.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.03218, allocations: 2.411 MB / 387.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.03237, allocations: 11.98 kB / 387.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.0324, allocations: 16 kB / 387.6 MB, free: 7.938 MB / 362.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.0002397/0.03264, allocations: 188.4 kB / 387.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.03271, allocations: 31.86 kB / 387.8 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004048/0.03311, allocations: 187.4 kB / 388 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.03312, allocations: 4 kB / 388 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.03312, allocations: 4 kB / 388 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.03312, allocations: 3.984 kB / 388 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.03434, allocations: 0.6409 MB / 388.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.03434, allocations: 11.92 kB / 388.7 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.03456, allocations: 31.98 kB / 388.7 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-05/0.03466, allocations: 23.67 kB / 388.7 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.03468, allocations: 7.938 kB / 388.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.03469, allocations: 4.062 kB / 388.8 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.03469, allocations: 4 kB / 388.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.03524, allocations: 393.1 kB / 389.1 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.0353, allocations: 31.75 kB / 389.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.03534, allocations: 4 kB / 389.2 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.03548, allocations: 11.98 kB / 389.2 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.03555, allocations: 15.97 kB / 389.2 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.03556, allocations: 4 kB / 389.2 MB, free: 6.238 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002533/0.03581, allocations: 246.9 kB / 389.5 MB, free: 6 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03581, allocations: 0 / 389.5 MB, free: 6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004729/0.03629, allocations: 92 kB / 389.5 MB, free: 5.91 MB / 362.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 0.0001503/0.03644, allocations: 103.2 kB / 389.6 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007556/0.03719, allocations: 411.6 kB / 390 MB, free: 5.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.03719, allocations: 0 / 390 MB, free: 5.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.03738, allocations: 83.22 kB / 390.1 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.03788, allocations: 63.61 kB / 390.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.03928, allocations: 0.7661 MB / 391 MB, free: 4.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.03956, allocations: 229.1 kB / 391.2 MB, free: 4.188 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.03972, allocations: 54.91 kB / 391.2 MB, free: 4.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.03978, allocations: 24.5 kB / 391.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03978, allocations: 0 / 391.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of Templates: time 0.009278/0.04906, allocations: 3.747 MB / 395 MB, free: 428 kB / 362.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","/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: 4.823630549013615]