Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1864/0.1864, allocations: 38.54 MB / 346.3 MB, free: 2.207 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.88 kB / 484.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3489, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007826/0.3567, allocations: 7.715 MB / 0.5406 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006329/0.3631, allocations: 3.009 MB / 0.5435 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000739/0.3638, allocations: 33.59 kB / 0.5436 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.366, allocations: 0.7669 MB / 0.5443 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.3681, allocations: 0.7048 MB / 0.545 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.3693, allocations: 385.1 kB / 0.5454 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00225/0.3716, allocations: 1.354 MB / 0.5467 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008385/0.3724, allocations: 0.4899 MB / 0.5472 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.3734, allocations: 0.5696 MB / 0.5477 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.3745, allocations: 0.6675 MB / 0.5484 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.3746, allocations: 74.66 kB / 0.5484 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3757, allocations: 0.5411 MB / 0.549 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005465/0.3762, allocations: 454.8 kB / 0.5494 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006117/0.3768, allocations: 0.5066 MB / 0.5499 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.3789, allocations: 1.428 MB / 0.5513 GB, free: 8.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3789, allocations: 1.25 kB / 0.5513 GB, free: 8.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3789, allocations: 0 / 0.5513 GB, free: 8.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.3789, allocations: 0 / 0.5513 GB, free: 8.355 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002712/0.3816, allocations: 1.234 MB / 0.5525 GB, free: 7.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3816, allocations: 17.77 kB / 0.5525 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.3831, allocations: 221.5 kB / 0.5527 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.3847, allocations: 0.6614 MB / 0.5534 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/0.3848, allocations: 67.09 kB / 0.5534 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.385, allocations: 101.1 kB / 0.5535 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.3869, allocations: 1.094 MB / 0.5546 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.3869, allocations: 7.953 kB / 0.5546 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-05/0.387, allocations: 32 kB / 0.5546 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/0.3872, allocations: 77.95 kB / 0.5547 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.3887, allocations: 0.8704 MB / 0.5556 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005984/0.3947, allocations: 3.899 MB / 0.5594 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.3954, allocations: 334.7 kB / 0.5597 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/0.3958, allocations: 262 kB / 0.5599 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.3958, allocations: 8.438 kB / 0.5599 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.3959, allocations: 42.94 kB / 0.56 GB, free: 164 kB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.615e-06/0.3959, allocations: 0 / 0.56 GB, free: 164 kB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.003435/0.3993, allocations: 1.667 MB / 0.5616 GB, free: 14.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.3994, allocations: 85.55 kB / 0.5617 GB, free: 14.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000775/0.4002, allocations: 0.5977 MB / 0.5623 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.4002, allocations: 29.7 kB / 0.5623 GB, free: 13.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.4006, allocations: 475.8 kB / 0.5628 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.4008, allocations: 194.5 kB / 0.5629 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.401, allocations: 146.6 kB / 0.5631 GB, free: 12.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.4012, allocations: 378.8 kB / 0.5634 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.4017, allocations: 253.8 kB / 0.5637 GB, free: 12.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.4023, allocations: 472.9 kB / 0.5641 GB, free: 11.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.4034, allocations: 0.7792 MB / 0.5649 GB, free: 10.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4034, allocations: 4 kB / 0.5649 GB, free: 10.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002217/0.4056, allocations: 1.037 MB / 0.5659 GB, free: 9.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.4056, allocations: 8 kB / 0.5659 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001452/0.4071, allocations: 0.7184 MB / 0.5666 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007816/0.4078, allocations: 218.3 kB / 0.5668 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.4084, allocations: 155.8 kB / 0.567 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006235/0.4146, allocations: 5.357 MB / 0.5722 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/0.4153, allocations: 39.92 kB / 0.5723 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.4153, allocations: 36 kB / 0.5723 GB, free: 2.898 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005357/0.4159, allocations: 305.4 kB / 0.5726 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.416, allocations: 71.58 kB / 0.5726 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.4171, allocations: 0.6046 MB / 0.5732 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4171, allocations: 4 kB / 0.5732 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.4171, allocations: 4 kB / 0.5732 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4172, allocations: 3.984 kB / 0.5732 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/0.4198, allocations: 1.466 MB / 0.5747 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4198, allocations: 0 / 0.5747 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006573/0.4204, allocations: 127.9 kB / 0.5748 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.4205, allocations: 4 kB / 0.5748 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.4205, allocations: 20.09 kB / 0.5748 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.4205, allocations: 7.938 kB / 0.5748 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4205, allocations: 7.938 kB / 0.5748 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.4218, allocations: 0.9248 MB / 0.5757 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.4221, allocations: 107.5 kB / 0.5758 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4222, allocations: 27.88 kB / 0.5759 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.4225, allocations: 23.92 kB / 0.5759 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.4226, allocations: 36.31 kB / 0.5759 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.4226, allocations: 16 kB / 0.5759 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005001/0.4231, allocations: 419 kB / 0.5763 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4231, allocations: 4 kB / 0.5763 GB, free: 14.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008887/0.424, allocations: 231.9 kB / 0.5766 GB, free: 14.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003128/0.4243, allocations: 138.9 kB / 0.5767 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.4261, allocations: 1.007 MB / 0.5777 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4261, allocations: 4.188 kB / 0.5777 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.4265, allocations: 246.3 kB / 0.5779 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.4274, allocations: 156 kB / 0.5781 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.4309, allocations: 2.074 MB / 0.5801 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008222/0.4318, allocations: 1.082 MB / 0.5812 GB, free: 9.582 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005462/0.4323, allocations: 185.9 kB / 0.5813 GB, free: 9.398 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.4325, allocations: 55.42 kB / 0.5814 GB, free: 9.344 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4325, allocations: 0 / 0.5814 GB, free: 9.344 MB / 430.1 MB Notification: Performance of Templates: time 0.02434/0.4568, allocations: 10.02 MB / 0.5912 GB, free: 15.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.31488290335983]