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.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.001988/0.001988, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001967/0.001967, allocations: 161.6 kB / 24.27 MB, free: 172 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.572/1.572, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.2996/0.2996, allocations: 29.41 MB / 290.5 MB, free: 2.438 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.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 1.713e-06/1.713e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.853e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01038/0.01041, allocations: 7.119 MB / 376 MB, free: 4.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006104/0.01652, allocations: 2.82 MB / 378.8 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000521/0.01704, allocations: 35.69 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.01933, allocations: 0.7115 MB / 379.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.02134, allocations: 0.7225 MB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.02243, allocations: 394.9 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.02439, allocations: 1.387 MB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009571/0.02535, allocations: 0.5412 MB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.02655, allocations: 0.7674 MB / 383.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.02766, allocations: 0.5882 MB / 384 MB, free: 12.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.02781, allocations: 76 kB / 384.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.02901, allocations: 0.4911 MB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006757/0.02968, allocations: 482.7 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005722/0.03025, allocations: 363.2 kB / 385.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.03235, allocations: 1.445 MB / 386.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.03236, allocations: 4 kB / 386.8 MB, free: 9.305 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.498e-06/0.03236, allocations: 4 kB / 386.8 MB, free: 9.301 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.03238, allocations: 0 / 386.8 MB, free: 9.301 MB / 362.7 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.002632/0.03501, allocations: 1.228 MB / 388 MB, free: 8.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.03506, allocations: 8.031 kB / 388.1 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.03655, allocations: 304.1 kB / 388.4 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.03822, allocations: 0.6999 MB / 389.1 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.837e-05/0.03828, allocations: 62.36 kB / 389.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/0.03855, allocations: 104.6 kB / 389.2 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.0405, allocations: 1.1 MB / 390.3 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.04053, allocations: 3.953 kB / 390.3 MB, free: 5.695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.04062, allocations: 32 kB / 390.4 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001911/0.04081, allocations: 77.89 kB / 390.4 MB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.04242, allocations: 0.8587 MB / 391.3 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006283/0.04871, allocations: 3.54 MB / 394.8 MB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.04944, allocations: 346.8 kB / 395.2 MB, free: 0.668 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/0.04989, allocations: 263.1 kB / 395.4 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.04994, allocations: 8.5 kB / 395.4 MB, free: 408 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.04999, allocations: 39.06 kB / 395.5 MB, free: 356 kB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.344e-06/0.04999, allocations: 0 / 395.5 MB, free: 356 kB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.003573/0.05356, allocations: 1.672 MB / 397.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.05364, allocations: 89.59 kB / 397.2 MB, free: 14.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007115/0.05435, allocations: 0.5261 MB / 397.8 MB, free: 14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.05439, allocations: 33.7 kB / 397.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.05481, allocations: 487.6 kB / 398.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.055, allocations: 190.4 kB / 398.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.05524, allocations: 146.7 kB / 398.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.05547, allocations: 374.8 kB / 399 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.05593, allocations: 253.8 kB / 399.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.05663, allocations: 476.9 kB / 399.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.05802, allocations: 0.7794 MB / 400.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.05802, allocations: 0 / 400.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002386/0.06041, allocations: 1.06 MB / 401.5 MB, free: 10 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.06044, allocations: 11.98 kB / 401.5 MB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001538/0.06198, allocations: 0.7144 MB / 402.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.06299, allocations: 262.3 kB / 402.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.06356, allocations: 159.7 kB / 402.7 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006864/0.07043, allocations: 5.273 MB / 407.9 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/0.07109, allocations: 43.91 kB / 408 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.07115, allocations: 35.98 kB / 408 MB, free: 3.188 MB / 378.7 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.0005688/0.07172, allocations: 297.5 kB / 408.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.07191, allocations: 83.64 kB / 408.4 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.07311, allocations: 0.6092 MB / 409 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.07313, allocations: 11.98 kB / 409 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.07313, allocations: 3.938 kB / 409 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.07314, allocations: 0 / 409 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.0757, allocations: 1.3 MB / 410.3 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.07571, allocations: 4 kB / 410.3 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000645/0.07635, allocations: 127.8 kB / 410.4 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.07636, allocations: 4 kB / 410.4 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.0764, allocations: 16 kB / 410.4 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.07641, allocations: 7.984 kB / 410.5 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.07641, allocations: 0 / 410.5 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.0779, allocations: 0.9462 MB / 411.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.07815, allocations: 107.5 kB / 411.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.257e-05/0.07823, allocations: 8 kB / 411.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.07856, allocations: 27.98 kB / 411.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.07865, allocations: 32.44 kB / 411.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.07869, allocations: 19.94 kB / 411.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005123/0.0792, allocations: 370.8 kB / 412 MB, free: 15.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07921, allocations: 0 / 412 MB, free: 15.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008929/0.0801, allocations: 231.9 kB / 412.2 MB, free: 14.91 MB / 394.7 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.0003247/0.08042, allocations: 135.2 kB / 412.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.08227, allocations: 1.011 MB / 413.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.08227, allocations: 0 / 413.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000439/0.08271, allocations: 255.9 kB / 413.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/0.08353, allocations: 149.8 kB / 413.7 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.08697, allocations: 1.9 MB / 415.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/0.08762, allocations: 486.5 kB / 416.1 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000522/0.08814, allocations: 189.3 kB / 416.3 MB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.08834, allocations: 56.48 kB / 416.3 MB, free: 10.63 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.08834, allocations: 0 / 416.3 MB, free: 10.63 MB / 394.7 MB Notification: Performance of Templates: time 0.01826/0.1066, allocations: 8.62 MB / 425 MB, free: 2.129 MB / 394.7 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.216492388048209]